Qt: Fix "close" button on Overrides view

This commit is contained in:
Jeffrey Pfau 2016-09-20 16:22:36 -07:00
parent 5a24012e8a
commit bea6235c0a
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@ Bugfixes:
- GB MBC: Fix MBC7 when size is incorrectly specified - GB MBC: Fix MBC7 when size is incorrectly specified
- GB Video: Setting LYC=LY during mode 2 should trigger an IRQ - GB Video: Setting LYC=LY during mode 2 should trigger an IRQ
- GBA Cheats: Fix holding onto pointers that may get invalidated - GBA Cheats: Fix holding onto pointers that may get invalidated
- Qt: Fix "close" button on Overrides view
Misc: Misc:
- All: Only update version info if needed - All: Only update version info if needed

View File

@ -88,6 +88,7 @@ OverrideView::OverrideView(GameController* controller, ConfigController* config,
#endif #endif
connect(m_ui.buttonBox, SIGNAL(accepted()), this, SLOT(saveOverride())); connect(m_ui.buttonBox, SIGNAL(accepted()), this, SLOT(saveOverride()));
connect(m_ui.buttonBox, SIGNAL(rejected()), this, SLOT(close()));
if (controller->isLoaded()) { if (controller->isLoaded()) {
gameStarted(controller->thread()); gameStarted(controller->thread());