mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-27 15:53:49 +01:00
Apparently, wxConfigBase::Write() does not update values for next access on all platforms unless Flush() method is called. Added many calls to wxConfigBase::Flush() to make sure the Rad() calls get the right values.
This commit is contained in:
@@ -226,6 +226,7 @@ bool QualityPrefs::Apply()
|
||||
// value in prefs comes from the second field.
|
||||
if (mOtherSampleRate->IsEnabled()) {
|
||||
gPrefs->Write(wxT("/SamplingRate/DefaultProjectSampleRate"), mOtherSampleRateValue);
|
||||
gPrefs->Flush();
|
||||
}
|
||||
|
||||
// Tell CopySamples() to use these ditherers now
|
||||
|
||||
Reference in New Issue
Block a user