Close savestate window with Esc

This commit is contained in:
Jeffrey Pfau 2014-10-15 23:08:05 -07:00
parent cd8b1e56db
commit 71458f2140
1 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,9 @@ bool LoadSaveState::eventFilter(QObject*, QEvent* event) {
case Qt::Key_Right: case Qt::Key_Right:
column += 1; column += 1;
break; break;
case Qt::Key_Escape:
close();
break;
default: default:
return false; return false;
} }