mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-05 11:13:16 +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:
@@ -519,6 +519,7 @@ void ScreenFrame::OnDirChoose(wxCommandEvent & e)
|
||||
wxString path = tmpDirPath.GetPath(wxPATH_GET_VOLUME|wxPATH_GET_SEPARATOR);
|
||||
mDirectoryTextBox->SetValue(path);
|
||||
gPrefs->Write(wxT("/ScreenshotPath"), path);
|
||||
gPrefs->Flush();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user