mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix quick load recent accidentally saving (fixes #1309)
This commit is contained in:
parent
e5161b766d
commit
31dc70e637
1
CHANGES
1
CHANGES
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue