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;
|
column += 1;
|
||||||
break;
|
break;
|
||||||
case GBA_KEY_B:
|
case GBA_KEY_B:
|
||||||
|
event->accept();
|
||||||
close();
|
close();
|
||||||
break;
|
return true;
|
||||||
case GBA_KEY_A:
|
case GBA_KEY_A:
|
||||||
case GBA_KEY_START:
|
case GBA_KEY_START:
|
||||||
event->accept();
|
event->accept();
|
||||||
|
|
Loading…
Reference in New Issue