mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-23 10:56:42 +00: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
1 changed files with 6 additions and 3 deletions
|
@ -1323,10 +1323,13 @@ namespace MWGui
|
|||
window->exit();
|
||||
}
|
||||
mKeyboardNavigation->saveFocus(mode);
|
||||
if (containsMode(mode))
|
||||
{
|
||||
mGuiModes.pop_back();
|
||||
mGuiModeStates[mode].update(false);
|
||||
MWBase::Environment::get().getLuaManager()->uiModeChanged(MWWorld::Ptr());
|
||||
}
|
||||
}
|
||||
|
||||
if (!mGuiModes.empty())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue