From bea6235c0a7a0c99362564eeda357d7109886211 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Tue, 20 Sep 2016 16:22:36 -0700 Subject: [PATCH] Qt: Fix "close" button on Overrides view --- CHANGES | 1 + src/platform/qt/OverrideView.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index 84c84f015..4e8acd20b 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,7 @@ Bugfixes: - GB MBC: Fix MBC7 when size is incorrectly specified - GB Video: Setting LYC=LY during mode 2 should trigger an IRQ - GBA Cheats: Fix holding onto pointers that may get invalidated + - Qt: Fix "close" button on Overrides view Misc: - All: Only update version info if needed diff --git a/src/platform/qt/OverrideView.cpp b/src/platform/qt/OverrideView.cpp index 1402b2a55..509fac5b9 100644 --- a/src/platform/qt/OverrideView.cpp +++ b/src/platform/qt/OverrideView.cpp @@ -88,6 +88,7 @@ OverrideView::OverrideView(GameController* controller, ConfigController* config, #endif connect(m_ui.buttonBox, SIGNAL(accepted()), this, SLOT(saveOverride())); + connect(m_ui.buttonBox, SIGNAL(rejected()), this, SLOT(close())); if (controller->isLoaded()) { gameStarted(controller->thread());