mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-09 22:53:55 +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:
@@ -98,7 +98,7 @@ bool EffectClickRemoval::Init()
|
||||
gPrefs->Write(wxT("/Effects/ClickRemoval/ClickWidth"), mClickWidth);
|
||||
}
|
||||
#endif // CLEANSPEECH
|
||||
return true;
|
||||
return gPrefs->Flush();
|
||||
}
|
||||
|
||||
bool EffectClickRemoval::CheckWhetherSkipEffect()
|
||||
@@ -131,7 +131,7 @@ bool EffectClickRemoval::PromptUser()
|
||||
gPrefs->Write(wxT("/Effects/ClickRemoval/ClickWidth"), mClickWidth);
|
||||
#endif // CLEANSPEECH
|
||||
|
||||
return true;
|
||||
return gPrefs->Flush();
|
||||
}
|
||||
bool EffectClickRemoval::TransferParameters( Shuttle & shuttle )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user