mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix quick load recent accidentally saving (fixes #1309)
This commit is contained in:
parent
a8dcbd05cb
commit
232e972be2
1
CHANGES
1
CHANGES
|
@ -17,6 +17,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 Video: Improve sprite cycle counting (fixes mgba.io/i/1274)
|
- GBA Video: Improve sprite cycle counting (fixes mgba.io/i/1274)
|
||||||
|
|
||||||
|
|
|
@ -1107,7 +1107,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