Skip to content

Commit 241a245

Browse files
committed
Merge branch 'doubleexit' into 'master'
Don't assume there is a GUI mode in exitCurrentGuiMode (#8380) Closes #8380 See merge request OpenMW/openmw!4590
2 parents 2b5d076 + e4ae0c9 commit 241a245

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/openmw/mwgui/windowmanagerimp.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,9 @@ namespace MWGui
729729
return;
730730
}
731731

732+
if (mGuiModes.empty())
733+
return;
734+
732735
GuiModeState& state = mGuiModeStates[mGuiModes.back()];
733736
for (const auto& window : state.mWindows)
734737
{

0 commit comments

Comments
 (0)