aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/macmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/macgui/macmenu.cpp')
-rw-r--r--graphics/macgui/macmenu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/macgui/macmenu.cpp b/graphics/macgui/macmenu.cpp
index 806522f251..114f56ab03 100644
--- a/graphics/macgui/macmenu.cpp
+++ b/graphics/macgui/macmenu.cpp
@@ -821,6 +821,7 @@ bool MacMenu::mouseClick(int x, int y) {
_activeSubItem = -1;
if (_items[_activeItem]->submenu != nullptr) {
_menustack.push_back(_items[_activeItem]->submenu);
+ _items[_activeItem]->submenu->highlight = -1;
}
_menuActivated = true;
@@ -933,6 +934,7 @@ bool MacMenu::mouseRelease(int x, int y) {
_activeItem = -1;
_activeSubItem = -1;
+ _menustack.clear();
_wm->setFullRefresh(true);