mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 09:23:37 +00:00
GRAPHICS: MACGUI: Delete menu on redefinition
This commit is contained in:
parent
d62a589059
commit
462998e6d4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user