mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 16:19:43 +02:00
Fix reload bug.
This commit is contained in:
parent
23dd853a34
commit
de17e6bbc5
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user