diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-07-21 22:52:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-21 22:52:55 +0200 |
commit | c8719c38e159488c90d643264016fe344b26d240 (patch) | |
tree | 1e4ebe89312e3ccf766faffb2a7d676dd9a09125 | |
parent | 286e9b853315343c8ddc121098e412af812b3495 (diff) | |
parent | 0b4037fe642911a375fc0466c901dce68e4b6856 (diff) |
Merge pull request #50711 from nekomatata/popup-close-fix
Fix logic for Popup closing when parent is focused
-rw-r--r-- | scene/gui/popup.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/popup.cpp b/scene/gui/popup.cpp index 5e1c8cec37..f7e7e1cd60 100644 --- a/scene/gui/popup.cpp +++ b/scene/gui/popup.cpp @@ -72,6 +72,7 @@ void Popup::_notification(int p_what) { } else { _deinitialize_visible_parents(); emit_signal(SNAME("popup_hide")); + popped_up = false; } } break; |