From 2b6f1719e72d0140b74270e04d6a106e6adc5b30 Mon Sep 17 00:00:00 2001 From: Borja Lorente Date: Wed, 10 Aug 2016 17:52:04 +0200 Subject: GRAPHICS: Fix window closing --- graphics/macgui/macwindowmanager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'graphics') 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) { -- cgit v1.2.3