From e9e7e96c5f9aeb36b9b96a3653c4ce877e536086 Mon Sep 17 00:00:00 2001 From: scrawl Date: Sat, 23 Aug 2014 16:18:46 +0200 Subject: [PATCH] SaveGameDialog: use ComboBox accept event, not changePosition (improves keyboard navigation) --- apps/openmw/mwgui/savegamedialog.cpp | 2 +- files/mygui/openmw_list.skin.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwgui/savegamedialog.cpp b/apps/openmw/mwgui/savegamedialog.cpp index 943be37c69..84b5ca6ea3 100644 --- a/apps/openmw/mwgui/savegamedialog.cpp +++ b/apps/openmw/mwgui/savegamedialog.cpp @@ -37,7 +37,7 @@ namespace MWGui mOkButton->eventMouseButtonClick += MyGUI::newDelegate(this, &SaveGameDialog::onOkButtonClicked); mCancelButton->eventMouseButtonClick += MyGUI::newDelegate(this, &SaveGameDialog::onCancelButtonClicked); mDeleteButton->eventMouseButtonClick += MyGUI::newDelegate(this, &SaveGameDialog::onDeleteButtonClicked); - mCharacterSelection->eventComboChangePosition += MyGUI::newDelegate(this, &SaveGameDialog::onCharacterSelected); + mCharacterSelection->eventComboAccept += MyGUI::newDelegate(this, &SaveGameDialog::onCharacterSelected); mSaveList->eventListChangePosition += MyGUI::newDelegate(this, &SaveGameDialog::onSlotSelected); mSaveList->eventListMouseItemActivate += MyGUI::newDelegate(this, &SaveGameDialog::onSlotMouseClick); mSaveList->eventListSelectAccept += MyGUI::newDelegate(this, &SaveGameDialog::onSlotActivated); diff --git a/files/mygui/openmw_list.skin.xml b/files/mygui/openmw_list.skin.xml index b2f9c1bef6..291e3a8cc7 100644 --- a/files/mygui/openmw_list.skin.xml +++ b/files/mygui/openmw_list.skin.xml @@ -113,7 +113,7 @@ - +