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/shared/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/shared/util.h') diff --git a/src/shared/util.h b/src/shared/util.h index 1688a931..d8fdb3a3 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -74,6 +74,7 @@ enum class Exit }; const int RestartExitCode = INT_MAX; +const int ReselectExitCode = INT_MAX - 1; using ExitFlags = QFlags; Q_DECLARE_OPERATORS_FOR_FLAGS(ExitFlags); -- cgit v1.3.1