Initialise LineEdit clear_button_status.

Avoiding undefined behaviour and cleaning up Valgrind output.
This commit is contained in:
Ibrahn Sahir 2018-10-20 10:48:14 +01:00
parent cf7a66195f
commit 7bf54d2334

View file

@ -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);