Merge pull request #2915 from akortunov/guifixes

Reset selected slot when closing savegame dialogue
pull/2916/head
Bret Curtis 5 years ago committed by GitHub
commit 51136a75f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save