diff --git a/src/commands/PreferenceCommands.cpp b/src/commands/PreferenceCommands.cpp index fa2671aaa..3d3510b10 100644 --- a/src/commands/PreferenceCommands.cpp +++ b/src/commands/PreferenceCommands.cpp @@ -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; }