all repos — mgba @ bea6235c0a7a0c99362564eeda357d7109886211

mGBA Game Boy Advance Emulator

Qt: Fix "close" button on Overrides view
Jeffrey Pfau jeffrey@endrift.com
Tue, 20 Sep 2016 16:22:36 -0700
commit

bea6235c0a7a0c99362564eeda357d7109886211

parent

5a24012e8a780fd94f373238cddf4e1bb1f1f3b8

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

jump to
M CHANGESCHANGES

@@ -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
M src/platform/qt/OverrideView.cppsrc/platform/qt/OverrideView.cpp

@@ -88,6 +88,7 @@ m_ui.tabWidget->removeTab(m_ui.tabWidget->indexOf(m_ui.tabGB));

#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());