diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-11-12 08:56:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 08:56:07 +0100 |
commit | d1858cd7291ca1b17b8bf56260152e7110968c80 (patch) | |
tree | d463c182a3d2668973444ce1b935dd825cc530bf /scene/gui | |
parent | a05f136fb0f3df5f2f9d511cb2bf6a6433f3f8cc (diff) | |
parent | ed337085cf0a211619688467d7a90222f23eff58 (diff) |
Merge pull request #23655 from ibrahn/uninit-cleanup-plugins
Fixed various uninitialised member variables in editor plugins.
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/popup_menu.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |