mirror of https://github.com/mgba-emu/mgba.git
Qt: Add load alternate save options (fixes #1072)
This commit is contained in:
parent
be74bd349a
commit
a31e13f2d8
|
@ -989,6 +989,11 @@ void Window::setupMenu(QMenuBar* menubar) {
|
|||
"addDirToLibrary");
|
||||
#endif
|
||||
|
||||
QAction* loadAlternateSave = new QAction(tr("Load alternate save..."), fileMenu);
|
||||
connect(loadAlternateSave, &QAction::triggered, [this]() { this->selectSave(false); });
|
||||
m_gameActions.append(loadAlternateSave);
|
||||
addControlledAction(fileMenu, loadAlternateSave, "loadAlternateSave");
|
||||
|
||||
QAction* loadTemporarySave = new QAction(tr("Load temporary save..."), fileMenu);
|
||||
connect(loadTemporarySave, &QAction::triggered, [this]() { this->selectSave(true); });
|
||||
m_gameActions.append(loadTemporarySave);
|
||||
|
|
Loading…
Reference in New Issue