diff options
author | Borja Lorente | 2016-08-10 17:52:04 +0200 |
---|---|---|
committer | Borja Lorente | 2016-08-10 19:45:48 +0200 |
commit | 2b6f1719e72d0140b74270e04d6a106e6adc5b30 (patch) | |
tree | 228b45833eeb76e47df23f42bc975f44828c888a /graphics | |
parent | 223aaaa185489fb39c3e163840efd7d2160c24aa (diff) | |
download | scummvm-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.cpp | 1 |
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) { |