From a4ebeefc4f15fb0f8324d3e23694e4b5afd482e8 Mon Sep 17 00:00:00 2001 From: Robert Adam Date: Tue, 15 Mar 2022 18:49:39 +0100 Subject: [PATCH] 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. --- src/mumble/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mumble/main.cpp b/src/mumble/main.cpp index 0a9551774..82b8ec65e 100644 --- a/src/mumble/main.cpp +++ b/src/mumble/main.cpp @@ -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)) {