Savegame dialog: Hide main menu after successful load

actorid
scrawl 11 years ago
parent 0e78ffe8c0
commit 27956f3624

@ -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);

Loading…
Cancel
Save