attempt to fix 'shifting' dialogs (OptionsDialog)

This commit is contained in:
thrust26 2020-11-15 16:41:01 +01:00
parent 096ed424e3
commit 1476b2a6bf
1 changed files with 1 additions and 0 deletions

View File

@ -2288,6 +2288,7 @@ void EventHandler::enterMenuMode(EventHandlerState state)
void EventHandler::leaveMenuMode() void EventHandler::leaveMenuMode()
{ {
#ifdef GUI_SUPPORT #ifdef GUI_SUPPORT
myOverlay->removeDialog(); // remove the base dialog from dialog stack
setState(EventHandlerState::EMULATION); setState(EventHandlerState::EMULATION);
myOSystem.sound().mute(false); myOSystem.sound().mute(false);
#endif #endif