mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
Fix reload bug.
This commit is contained in:
committed by
Paul Licameli
parent
e3ef968d57
commit
6a5a61d39a
@@ -72,8 +72,9 @@ void SetPreferenceCommand::PopulateOrExchange(ShuttleGui & S)
|
||||
bool SetPreferenceCommand::Apply(const CommandContext & context)
|
||||
{
|
||||
bool bOK = gPrefs->Write(mName, mValue) && gPrefs->Flush();
|
||||
if( bOK && mbReload )
|
||||
if( bOK && mbReload ){
|
||||
context.GetProject()->OnReloadPreferences( context );
|
||||
}
|
||||
return bOK;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user