all repos — mgba @ b74a5a529329465df05ba6f0bf558ddb0f88739e

mGBA Game Boy Advance Emulator

Allow enter to be used to select a state
Jeffrey Pfau jeffrey@endrift.com
Thu, 16 Oct 2014 04:15:57 -0700
commit

b74a5a529329465df05ba6f0bf558ddb0f88739e

parent

556209e75f3bf9d36af956d71c76b3211d4e3601

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/LoadSaveState.cppsrc/platform/qt/LoadSaveState.cpp

@@ -79,6 +79,10 @@ break;

case Qt::Key_Escape: close(); break; + case Qt::Key_Enter: + case Qt::Key_Return: + triggerState(m_currentFocus + 1); + break; default: return false; }