Allow enter to be used to select a state

This commit is contained in:
Jeffrey Pfau 2014-10-16 04:15:57 -07:00
parent 556209e75f
commit b74a5a5293
1 changed files with 4 additions and 0 deletions

View File

@ -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;
} }