aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorBorja Lorente2016-08-10 17:52:04 +0200
committerBorja Lorente2016-08-10 19:45:48 +0200
commit2b6f1719e72d0140b74270e04d6a106e6adc5b30 (patch)
tree228b45833eeb76e47df23f42bc975f44828c888a /graphics
parent223aaaa185489fb39c3e163840efd7d2160c24aa (diff)
downloadscummvm-rg350-2b6f1719e72d0140b74270e04d6a106e6adc5b30.tar.gz
scummvm-rg350-2b6f1719e72d0140b74270e04d6a106e6adc5b30.tar.bz2
scummvm-rg350-2b6f1719e72d0140b74270e04d6a106e6adc5b30.zip
GRAPHICS: Fix window closing
Diffstat (limited to 'graphics')
-rw-r--r--graphics/macgui/macwindowmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/macgui/macwindowmanager.cpp b/graphics/macgui/macwindowmanager.cpp
index d19e40781f..413d9b2b97 100644
--- a/graphics/macgui/macwindowmanager.cpp
+++ b/graphics/macgui/macwindowmanager.cpp
@@ -322,6 +322,7 @@ void MacWindowManager::removeMarked() {
}
_windowsToRemove.clear();
_needsRemoval = false;
+ _lastId = _windows.size();
}
void MacWindowManager::removeFromStack(BaseMacWindow *target) {