FIX(client): Audio wizard being shown repeatedly

The switch to a new settings format messed up the setting for whether or
not the audio wizard has been shown already or not. For new
installations, the wizard would be shown, but the fact that it has been
shown is not reflected in the settings causing the wizard to be re-shown
upon a restart.

This commit fixes this by making sure that the respective setting is set
after the wizard has been shown for the first time.
This commit is contained in:
Robert Adam 2022-03-15 18:49:39 +01:00
parent 7b55ed7efa
commit a4ebeefc4f

View File

@ -713,6 +713,8 @@ int main(int argc, char **argv) {
AudioWizard *aw = new AudioWizard(Global::get().mw);
aw->exec();
delete aw;
Global::get().s.audioWizardShown = true;
}
if (!CertWizard::validateCert(Global::get().s.kpCertificate)) {