mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-29 00:06:41 +00:00
Merge pull request #2915 from akortunov/guifixes
Reset selected slot when closing savegame dialogue
This commit is contained in:
commit
51136a75f2
2 changed files with 8 additions and 0 deletions
|
@ -132,6 +132,13 @@ namespace MWGui
|
|||
MWBase::Environment::get().getWindowManager()->injectKeyRelease(MyGUI::KeyCode::None);
|
||||
}
|
||||
|
||||
void SaveGameDialog::onClose()
|
||||
{
|
||||
mSaveList->setIndexSelected(MyGUI::ITEM_NONE);
|
||||
|
||||
WindowModal::onClose();
|
||||
}
|
||||
|
||||
void SaveGameDialog::onOpen()
|
||||
{
|
||||
WindowModal::onOpen();
|
||||
|
|
|
@ -20,6 +20,7 @@ namespace MWGui
|
|||
SaveGameDialog();
|
||||
|
||||
virtual void onOpen();
|
||||
virtual void onClose();
|
||||
|
||||
void setLoadOrSave(bool load);
|
||||
|
||||
|
|
Loading…
Reference in a new issue