mirror of https://github.com/stella-emu/stella.git
attempt to fix 'shifting' dialogs (OptionsDialog)
This commit is contained in:
parent
096ed424e3
commit
1476b2a6bf
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue