diff options
Diffstat (limited to 'engines/hugo/menu.cpp')
-rw-r--r-- | engines/hugo/menu.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/hugo/menu.cpp b/engines/hugo/menu.cpp index 31d874995a..2bb3ec2c91 100644 --- a/engines/hugo/menu.cpp +++ b/engines/hugo/menu.cpp @@ -222,9 +222,11 @@ void TopMenu::handleCommand(GUI::CommandSender *sender, uint32 command, uint32 d } } -//void TopMenu::handleMouseUp(int x, int y, int button, int clickCount) { -// if (y > _h) -// close(); -//} +void TopMenu::handleMouseUp(int x, int y, int button, int clickCount) { + if (y > _h) + close(); + else + Dialog::handleMouseUp(x, y, button, clickCount); +} } // End of namespace Hugo |