mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 23:53:52 +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
|
else
|
||||||
{
|
{
|
||||||
if (mCurrentCharacter && slot)
|
if (mCurrentCharacter && slot)
|
||||||
|
{
|
||||||
MWBase::Environment::get().getStateManager()->loadGame (mCurrentCharacter, slot);
|
MWBase::Environment::get().getStateManager()->loadGame (mCurrentCharacter, slot);
|
||||||
|
MWBase::Environment::get().getWindowManager()->removeGuiMode (MWGui::GM_MainMenu);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
setVisible(false);
|
setVisible(false);
|
||||||
|
|
Loading…
Reference in a new issue