mirror of https://github.com/mgba-emu/mgba.git
Allow enter to be used to select a state
This commit is contained in:
parent
556209e75f
commit
b74a5a5293
|
@ -79,6 +79,10 @@ bool LoadSaveState::eventFilter(QObject* object, QEvent* event) {
|
||||||
case Qt::Key_Escape:
|
case Qt::Key_Escape:
|
||||||
close();
|
close();
|
||||||
break;
|
break;
|
||||||
|
case Qt::Key_Enter:
|
||||||
|
case Qt::Key_Return:
|
||||||
|
triggerState(m_currentFocus + 1);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue