1
0
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:
Leland Lucius
2015-12-21 20:07:24 -06:00
parent d3fdccffce
commit 9dd79c9f80
9 changed files with 17 additions and 11 deletions

View File

@@ -67,6 +67,9 @@ void SoundActivatedRecord::OnOK(wxCommandEvent & WXUNUSED(event))
{
ShuttleGui S( this, eIsSavingToPrefs );
PopulateOrExchange( S );
gPrefs->Flush();
EndModal(0);
}