1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 07:53:53 +00:00

Savegame dialog: Hide main menu after successful load

This commit is contained in:
scrawl 2014-03-27 02:36:21 +01:00
parent 0e78ffe8c0
commit 27956f3624

View file

@ -169,7 +169,10 @@ namespace MWGui
else
{
if (mCurrentCharacter && slot)
{
MWBase::Environment::get().getStateManager()->loadGame (mCurrentCharacter, slot);
MWBase::Environment::get().getWindowManager()->removeGuiMode (MWGui::GM_MainMenu);
}
}
setVisible(false);