From 923039531df4925ef3d75c5760755636f8be63a3 Mon Sep 17 00:00:00 2001 From: Dmitry Vedenko Date: Tue, 20 Feb 2024 21:32:52 +0300 Subject: [PATCH] Fixes mixdown prefs --- libraries/lib-cloud-audiocom/CloudSettings.cpp | 2 +- modules/mod-cloud-audiocom/ui/AudioComPrefsPanel.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/lib-cloud-audiocom/CloudSettings.cpp b/libraries/lib-cloud-audiocom/CloudSettings.cpp index d256778a79bd..976dbb575ed3 100644 --- a/libraries/lib-cloud-audiocom/CloudSettings.cpp +++ b/libraries/lib-cloud-audiocom/CloudSettings.cpp @@ -26,7 +26,7 @@ StringSetting CloudProjectsSavePath { }; IntSetting MixdownGenerationFrequency { - "/cloud/audiocom/MixdownGenerationFrequency", 1 + "/cloud/audiocom/MixdownGenerationFrequency", 5 }; IntSetting DaysToKeepFiles { diff --git a/modules/mod-cloud-audiocom/ui/AudioComPrefsPanel.cpp b/modules/mod-cloud-audiocom/ui/AudioComPrefsPanel.cpp index f55e7c89eab2..0bb15e3cc7cd 100644 --- a/modules/mod-cloud-audiocom/ui/AudioComPrefsPanel.cpp +++ b/modules/mod-cloud-audiocom/ui/AudioComPrefsPanel.cpp @@ -44,11 +44,11 @@ class AudioComPrefsPanel final : public PrefsPanel bool Commit() override { + MixdownGenerationFrequency.Write(mMixdownPrefsPanel->GetFrequency()); + ShuttleGui S(this, eIsSavingToPrefs); PopulateOrExchange(S); - MixdownGenerationFrequency.Write(mMixdownPrefsPanel->GetFrequency()); - CloudProjectsSavePath.Invalidate(); sync::ShowCloudSyncDialog.Invalidate(); DaysToKeepFiles.Invalidate();