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:
parent
0e78ffe8c0
commit
27956f3624
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue