You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-25 15:37:42 +00:00
Initialise LineEdit clear_button_status.
Avoiding undefined behaviour and cleaning up Valgrind output.
This commit is contained in:
@@ -1608,6 +1608,8 @@ LineEdit::LineEdit() {
|
||||
text_changed_dirty = false;
|
||||
placeholder_alpha = 0.6;
|
||||
clear_button_enabled = false;
|
||||
clear_button_status.press_attempt = false;
|
||||
clear_button_status.pressing_inside = false;
|
||||
|
||||
deselect();
|
||||
set_focus_mode(FOCUS_ALL);
|
||||
|
||||
Reference in New Issue
Block a user