summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2019-03-31 16:32:24 +0100
committerPaulb23 <p_batty@hotmail.co.uk>2019-03-31 16:32:24 +0100
commitbfba1e36bc3cb3f686f1fbbbb8187e26e28ef57f (patch)
tree1ab2459988c380260eca3b75b613ee1ca85ef2ed /scene/gui
parent5b00cd89d318a92e7970fbdf80d9fca424e15224 (diff)
Fixed not deselecting when clearing lineedit.
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/line_edit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp
index bf6833e512..874246586d 100644
--- a/scene/gui/line_edit.cpp
+++ b/scene/gui/line_edit.cpp
@@ -1223,6 +1223,7 @@ void LineEdit::append_at_cursor(String p_text) {
void LineEdit::clear_internal() {
+ deselect();
_clear_undo_stack();
cached_width = 0;
cursor_pos = 0;