From 406d6f28c0ee0e6d6187a0d633f3db07fab57841 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Sat, 13 Feb 2021 07:54:05 -0500 Subject: force instance selection when the current instance cannot be used the problem is that an empty instance name means the portable instance, but MO clears the name when it needs instance selection, which can create a loop if the portable instance can't be used --- src/moapplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/moapplication.cpp') diff --git a/src/moapplication.cpp b/src/moapplication.cpp index 11053e66..4a6585dd 100644 --- a/src/moapplication.cpp +++ b/src/moapplication.cpp @@ -492,7 +492,7 @@ std::optional MOApplication::setupInstanceLoop( continue; } else if (setupResult == SetupInstanceResults::SelectAnother) { InstanceManager::singleton().clearCurrentInstance(); - return RestartExitCode; + return ReselectExitCode; } else { return 1; } -- cgit v1.3.1