mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-04 13:27:39 +02: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:
@@ -280,6 +280,7 @@ void Importer::WriteImportItems()
|
||||
}
|
||||
name.Printf (wxT("/ExtImportItems/Item%d"), i);
|
||||
gPrefs->Write (name, val);
|
||||
gPrefs->Flush();
|
||||
}
|
||||
/* If we used to have more items than we have now, delete the excess items.
|
||||
We just keep deleting items and incrementing until we find there aren't any
|
||||
|
||||
Reference in New Issue
Block a user