diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2021-02-13 07:54:05 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2021-02-13 07:54:05 -0500 |
| commit | 406d6f28c0ee0e6d6187a0d633f3db07fab57841 (patch) | |
| tree | a40a33911362b0f5de412b77b8bf23d245df1565 /src/moapplication.cpp | |
| parent | ee4c364ccc6c5fbd81b5136e75005d8b9550ca43 (diff) | |
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
Diffstat (limited to 'src/moapplication.cpp')
| -rw-r--r-- | src/moapplication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<int> MOApplication::setupInstanceLoop( continue;
} else if (setupResult == SetupInstanceResults::SelectAnother) {
InstanceManager::singleton().clearCurrentInstance();
- return RestartExitCode;
+ return ReselectExitCode;
} else {
return 1;
}
|
