aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorEugene Sandulenko2009-05-18 21:02:52 +0000
committerEugene Sandulenko2009-05-18 21:02:52 +0000
commiteb92554db943dd3a60f79a84ced6380478cbc656 (patch)
tree10da7fd3ed2a7bd8e4e52f6899b1649e8ad931fa /gui
parentd66365f376f2939c53243f58f745d853ecd708cd (diff)
downloadscummvm-rg350-eb92554db943dd3a60f79a84ced6380478cbc656.tar.gz
scummvm-rg350-eb92554db943dd3a60f79a84ced6380478cbc656.tar.bz2
scummvm-rg350-eb92554db943dd3a60f79a84ced6380478cbc656.zip
Fix bug #2791868: "GUI: Glitch when closing menu after hovering on option"
svn-id: r40702
Diffstat (limited to 'gui')
-rw-r--r--gui/dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/dialog.cpp b/gui/dialog.cpp
index bca1be3d0e..964ef35b77 100644
--- a/gui/dialog.cpp
+++ b/gui/dialog.cpp
@@ -100,13 +100,13 @@ void Dialog::open() {
void Dialog::close() {
_visible = false;
- g_gui.closeTopDialog();
if (_mouseWidget) {
_mouseWidget->handleMouseLeft(0);
_mouseWidget = 0;
}
releaseFocus();
+ g_gui.closeTopDialog();
}
void Dialog::reflowLayout() {