Ensure wizard's setup detection is really reset

So when going back to the detection state the previously selected config is
not used anymore (even though it isn't selected anymore).
This commit is contained in:
Martchus 2022-10-18 22:19:57 +02:00
parent db60c73d8d
commit 8e652217d8
1 changed files with 3 additions and 1 deletions

View File

@ -79,7 +79,9 @@ void SetupDetection::reset()
timeout.stop();
timedOut = false;
configOk = false;
connection.abortAllRequests();
config.guiAddress.clear();
config.guiApiKey.clear();
connection.disconnect();
launcher.terminate();
connectionErrors.clear();
launcherExitCode.reset();