aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorChristopher Page2008-06-09 23:15:17 +0000
committerChristopher Page2008-06-09 23:15:17 +0000
commit4fddafa3e6ef1c250804ea6ce9baaf2a911027e8 (patch)
treefa4b52832bde3458a655dd7120edd112d5ff0512 /gui
parent4d7798825cc287695e70ad9669e72fe317c6a9e0 (diff)
downloadscummvm-rg350-4fddafa3e6ef1c250804ea6ce9baaf2a911027e8.tar.gz
scummvm-rg350-4fddafa3e6ef1c250804ea6ce9baaf2a911027e8.tar.bz2
scummvm-rg350-4fddafa3e6ef1c250804ea6ce9baaf2a911027e8.zip
Implemented popAllCursors() in CursorManager to ensure that all unnecessary cursors are removed from the cursor stack when returning to the launcher
svn-id: r32642
Diffstat (limited to 'gui')
-rw-r--r--gui/newgui.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index 0bf61d084f..ddb69853f1 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -364,7 +364,9 @@ void NewGui::restoreState() {
void NewGui::openDialog(Dialog *dialog) {
_dialogStack.push(dialog);
_needRedraw = true;
-
+
+ CursorMan.popAllCursors();
+
// We reflow the dialog just before opening it. If the screen changed
// since the last time we looked, also refresh the loaded theme,
// and reflow all other open dialogs, too.