aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/macgui/macmenu.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/macgui/macmenu.cpp b/graphics/macgui/macmenu.cpp
index 804590f03e..6d0f0fede2 100644
--- a/graphics/macgui/macmenu.cpp
+++ b/graphics/macgui/macmenu.cpp
@@ -654,6 +654,11 @@ bool MacMenu::mouseMove(int x, int y) {
bool MacMenu::mouseRelease(int x, int y) {
if (_menuActivated) {
_menuActivated = false;
+ _isVisible = false;
+
+ if (_wm->_mode & kWMModalMenuMode) {
+ _wm->pauseEngine(false);
+ }
if (_activeItem != -1 && _activeSubItem != -1 && _items[_activeItem]->subitems[_activeSubItem]->enabled) {
if (_items[_activeItem]->subitems[_activeSubItem]->unicode) {