all repos — mgba @ e263467f139a17c5313242711ee2a39c8248cd6d

mGBA Game Boy Advance Emulator

Qt: Fix focus loss after cancelling a save state load/save
Jeffrey Pfau jeffrey@endrift.com
Mon, 05 Jan 2015 01:01:49 -0800
commit

e263467f139a17c5313242711ee2a39c8248cd6d

parent

721145a319e6a0c45e2302c4f468fe84a4fda331

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/platform/qt/LoadSaveState.cppsrc/platform/qt/LoadSaveState.cpp

@@ -122,8 +122,9 @@ case GBA_KEY_RIGHT:

column += 1; break; case GBA_KEY_B: + event->accept(); close(); - break; + return true; case GBA_KEY_A: case GBA_KEY_START: event->accept();