Qt: Fix quick load recent accidentally saving (fixes #1309)

This commit is contained in:
Vicki Pfau 2019-02-23 01:15:58 -08:00
parent e5161b766d
commit 31dc70e637
2 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ Bugfixes:
- Qt: Fix window icon on X11 - Qt: Fix window icon on X11
- GB, GBA Serialize: Fix loading two states in a row - GB, GBA Serialize: Fix loading two states in a row
- GBA Video: Fix enabling layers in non-tile modes (fixes mgba.io/i/1317) - GBA Video: Fix enabling layers in non-tile modes (fixes mgba.io/i/1317)
- Qt: Fix quick load recent accidentally saving (fixes mgba.io/i/1309)
Misc: Misc:
- GBA Savedata: EEPROM performance fixes - GBA Savedata: EEPROM performance fixes
- GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash - GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash

View File

@ -1108,7 +1108,7 @@ void Window::setupMenu(QMenuBar* menubar) {
addControlledAction(quickLoadMenu, quickLoad, "quickLoad"); addControlledAction(quickLoadMenu, quickLoad, "quickLoad");
QAction* quickSave = new QAction(tr("Save recent"), quickSaveMenu); QAction* quickSave = new QAction(tr("Save recent"), quickSaveMenu);
connect(quickLoad, &QAction::triggered, [this] { connect(quickSave, &QAction::triggered, [this] {
m_controller->saveState(); m_controller->saveState();
}); });
m_gameActions.append(quickSave); m_gameActions.append(quickSave);