From e263467f139a17c5313242711ee2a39c8248cd6d Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Mon, 5 Jan 2015 01:01:49 -0800 Subject: [PATCH] Qt: Fix focus loss after cancelling a save state load/save --- src/platform/qt/LoadSaveState.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platform/qt/LoadSaveState.cpp b/src/platform/qt/LoadSaveState.cpp index f8894f785..2f874af68 100644 --- a/src/platform/qt/LoadSaveState.cpp +++ b/src/platform/qt/LoadSaveState.cpp @@ -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();