diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/macgui/macwindowmanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/macgui/macwindowmanager.cpp b/graphics/macgui/macwindowmanager.cpp index 5d59e2d57a..570c526565 100644 --- a/graphics/macgui/macwindowmanager.cpp +++ b/graphics/macgui/macwindowmanager.cpp @@ -228,6 +228,8 @@ void MacWindowManager::addWindowInitialized(MacWindow *macwindow) { } MacMenu *MacWindowManager::addMenu() { + delete _menu; + _menu = new MacMenu(getNextId(), _screen->getBounds(), this); _windows[_menu->getId()] = _menu; |