mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-17 08:26:50 -04:00
Merge branch 'actually-you-have-to-sleep' into 'master'
FIX(windowmanagerimp): Don't remove a ui mode twice (Close #8156) Closes #8156 See merge request OpenMW/openmw!4369
This commit is contained in:
commit
dac6779aaf
@ -1323,9 +1323,12 @@ namespace MWGui
|
|||||||
window->exit();
|
window->exit();
|
||||||
}
|
}
|
||||||
mKeyboardNavigation->saveFocus(mode);
|
mKeyboardNavigation->saveFocus(mode);
|
||||||
mGuiModes.pop_back();
|
if (containsMode(mode))
|
||||||
mGuiModeStates[mode].update(false);
|
{
|
||||||
MWBase::Environment::get().getLuaManager()->uiModeChanged(MWWorld::Ptr());
|
mGuiModes.pop_back();
|
||||||
|
mGuiModeStates[mode].update(false);
|
||||||
|
MWBase::Environment::get().getLuaManager()->uiModeChanged(MWWorld::Ptr());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!mGuiModes.empty())
|
if (!mGuiModes.empty())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user