mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
Savegame dialog: Hide main menu after successful load
This commit is contained in:
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…
Reference in New Issue
Block a user