summaryrefslogtreecommitdiff
path: root/scene/gui/popup_menu.cpp
diff options
context:
space:
mode:
authorRafał Mikrut <mikrutrafal54@gmail.com>2020-04-01 19:29:35 +0200
committerRafał Mikrut <mikrutrafal54@gmail.com>2020-04-01 19:29:35 +0200
commit359bebd8c08a626e64ade1ac45c3c925352bd8a4 (patch)
tree83769dbf9cdb5ca7e6dee2e04b95dfc2c1f587c4 /scene/gui/popup_menu.cpp
parent0168709978154a89f137b44f33647e5d28a46250 (diff)
Fix out of bound array access caused by unassigned variable
Diffstat (limited to 'scene/gui/popup_menu.cpp')
-rw-r--r--scene/gui/popup_menu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/popup_menu.cpp b/scene/gui/popup_menu.cpp
index c096dc94cb..986141aca1 100644
--- a/scene/gui/popup_menu.cpp
+++ b/scene/gui/popup_menu.cpp
@@ -1514,6 +1514,7 @@ PopupMenu::PopupMenu() {
submenu_over = -1;
initial_button_mask = 0;
during_grabbed_click = false;
+ invalidated_click = false;
allow_search = false;
search_time_msec = 0;