From ed337085cf0a211619688467d7a90222f23eff58 Mon Sep 17 00:00:00 2001 From: Ibrahn Sahir Date: Sun, 11 Nov 2018 17:32:47 +0000 Subject: Fixed various uninitialised member variables in editor plugins. --- scene/gui/popup_menu.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/gui') diff --git a/scene/gui/popup_menu.cpp b/scene/gui/popup_menu.cpp index 004455c6a9..f621522102 100644 --- a/scene/gui/popup_menu.cpp +++ b/scene/gui/popup_menu.cpp @@ -1425,6 +1425,7 @@ PopupMenu::PopupMenu() { set_hide_on_item_selection(true); set_hide_on_checkable_item_selection(true); set_hide_on_multistate_item_selection(false); + set_hide_on_window_lose_focus(true); submenu_timer = memnew(Timer); submenu_timer->set_wait_time(0.3); -- cgit v1.2.3