You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Fixed not deselecting when clearing lineedit.
(cherry picked from commit bfba1e36bc)
This commit is contained in:
@@ -1223,6 +1223,7 @@ void LineEdit::append_at_cursor(String p_text) {
|
|||||||
|
|
||||||
void LineEdit::clear_internal() {
|
void LineEdit::clear_internal() {
|
||||||
|
|
||||||
|
deselect();
|
||||||
_clear_undo_stack();
|
_clear_undo_stack();
|
||||||
cached_width = 0;
|
cached_width = 0;
|
||||||
cursor_pos = 0;
|
cursor_pos = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user