diff options
| author | Juan Linietsky | 2015-11-18 18:36:39 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-11-18 18:36:39 -0300 |
| commit | 0bbe1e16572b6ee0ae73f8412b8fa05421ceb1ef (patch) | |
| tree | 05db04aa6acfeff1fbfca8f55353b879d96b3c99 | |
| parent | 4fdb4452b89e1b6fa9b610096c162469972c2e2f (diff) | |
| parent | bff8b04f522961daa46af217d6dd5514cf875a9d (diff) | |
| download | godot-0bbe1e16572b6ee0ae73f8412b8fa05421ceb1ef.tar.gz godot-0bbe1e16572b6ee0ae73f8412b8fa05421ceb1ef.tar.zst godot-0bbe1e16572b6ee0ae73f8412b8fa05421ceb1ef.zip | |
Merge pull request #2779 from bojidar-bg/patch-5
Change popup_menu.cpp to deselect on .clear
| -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 6c21ea639..89354322e 100644 --- a/scene/gui/popup_menu.cpp +++ b/scene/gui/popup_menu.cpp @@ -774,6 +774,7 @@ void PopupMenu::add_separator() { void PopupMenu::clear() { items.clear(); + mouse_over=-1; update(); idcount=0; |
