mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-20 21:20:24 +02:00
Remove flushing of preferences in ShuttlePrefs and only
flush when all settings have been written.
This commit is contained in:
@@ -67,6 +67,9 @@ void SoundActivatedRecord::OnOK(wxCommandEvent & WXUNUSED(event))
|
||||
{
|
||||
ShuttleGui S( this, eIsSavingToPrefs );
|
||||
PopulateOrExchange( S );
|
||||
|
||||
gPrefs->Flush();
|
||||
|
||||
EndModal(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user