summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-12-26 19:09:59 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-12-26 19:09:59 -0500
commit2e86e36a8e7ddf015988a4250be489d6734dc584 (patch)
treebf7c914124301edb8e45fdf42cc3192983f3d77d
parent89bbdf22cde8d16d2d5e72999abf97b38ecd7b11 (diff)
allow selecting another instance when the game/variant isn't found
-rw-r--r--src/instancemanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/instancemanager.cpp b/src/instancemanager.cpp
index 21470afa..18604bf1 100644
--- a/src/instancemanager.cpp
+++ b/src/instancemanager.cpp
@@ -831,7 +831,7 @@ SetupInstanceResults selectGame(Instance& instance, PluginContainer& pc)
if (dlg.exec() != QDialog::Accepted) {
// cancelled
- return SetupInstanceResults::Exit;
+ return SetupInstanceResults::SelectAnother;
}
// this info will be used instead of the ini, which should fix this
@@ -868,7 +868,7 @@ SetupInstanceResults selectVariant(Instance& instance, PluginContainer& pc)
dlg.raise();
if (dlg.exec() != QDialog::Accepted) {
- return SetupInstanceResults::Exit;
+ return SetupInstanceResults::SelectAnother;
}
// this info will be used instead of the ini, which should fix this