mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix focus loss after cancelling a save state load/save
This commit is contained in:
parent
721145a319
commit
e263467f13
|
@ -122,8 +122,9 @@ bool LoadSaveState::eventFilter(QObject* object, QEvent* event) {
|
|||
column += 1;
|
||||
break;
|
||||
case GBA_KEY_B:
|
||||
event->accept();
|
||||
close();
|
||||
break;
|
||||
return true;
|
||||
case GBA_KEY_A:
|
||||
case GBA_KEY_START:
|
||||
event->accept();
|
||||
|
|
Loading…
Reference in New Issue