Skip to content

Commit

Permalink
QT: add the ability to load .backup save states in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrlinkwii authored and stenzek committed Dec 1, 2023
1 parent 0bdc439 commit b69cfad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2-qt/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2577,7 +2577,7 @@ void MainWindow::populateLoadStateMenu(QMenu* menu, const QString& filename, con

QAction* action = menu->addAction(is_right_click_menu ? tr("Load State File...") : tr("Load From File..."));
connect(action, &QAction::triggered, [this, filename]() {
const QString path(QFileDialog::getOpenFileName(this, tr("Select Save State File"), QString(), tr("Save States (*.p2s)")));
const QString path(QFileDialog::getOpenFileName(this, tr("Select Save State File"), QString(), tr("Save States (*.p2s *.p2s.backup)")));
if (path.isEmpty())
return;

Expand Down

0 comments on commit b69cfad

Please sign in to comment.