mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-07 23:15:36 +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:
@@ -107,6 +107,7 @@ void ExportOGGOptions::OnOK(wxCommandEvent& event)
|
||||
PopulateOrExchange(S);
|
||||
|
||||
gPrefs->Write(wxT("/FileFormats/OggExportQuality"),mOggQualityUnscaled * 10);
|
||||
gPrefs->Flush();
|
||||
|
||||
EndModal(wxID_OK);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user