Force update from presets every run

This commit is contained in:
HojouFotytu 2019-02-17 15:14:45 +09:00
parent 867ab85c09
commit b3c6dbe526
1 changed files with 4 additions and 1 deletions

View File

@ -560,6 +560,7 @@ namespace Core.Main
SettingsFiles.CheckPresets(this.PTMagicConfiguration, this.Log, true); SettingsFiles.CheckPresets(this.PTMagicConfiguration, this.Log, true);
EnforceSettingsReapply = true; EnforceSettingsReapply = true;
this.StartPTMagicIntervalTimer(); this.StartPTMagicIntervalTimer();
return result; return result;
@ -798,7 +799,9 @@ namespace Core.Main
this.RunCount++; this.RunCount++;
bool headerLinesAdded = false; bool headerLinesAdded = false;
this.EnforceSettingsReapply = this.HaveSettingsChanged();
// Force update from preset files with every run
this.EnforceSettingsReapply = true; // = this.HaveSettingsChanged();
if (PTMagicConfiguration.GeneralSettings.Application.IsEnabled) if (PTMagicConfiguration.GeneralSettings.Application.IsEnabled)
{ {