mirror of https://github.com/mgba-emu/mgba.git
Close savestate window with Esc
This commit is contained in:
parent
cd8b1e56db
commit
71458f2140
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue