diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-04-01 17:01:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-01 17:01:45 +0200 |
commit | 9b691718f54e72854d137c9f7cb91b47d1e0d381 (patch) | |
tree | 86f657184752de487c6fd6939080cf2965592c4b | |
parent | e3bd84fa571661d76fc8458d65bb053988e934a6 (diff) | |
parent | bfba1e36bc3cb3f686f1fbbbb8187e26e28ef57f (diff) |
Merge pull request #27557 from Paulb23/deselect_line_edit_clear
Fixed not deselecting when clearing lineedit.
-rw-r--r-- | scene/gui/line_edit.cpp | 1 |
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; |