Make sure to upgrade settings

This commit is contained in:
2018-02-22 12:36:03 -05:00
parent e9c0fce549
commit bc8cc4092d
2 changed files with 4 additions and 2 deletions

View File

@@ -27,6 +27,8 @@ namespace ProcessCpuUsageStatusWindow
{
base.OnStartup(e);
Settings.Default.Upgrade();
StartManager.ManageAutoStart = true;
StartManager.AutoStartEnabled = !Debugger.IsAttached && Settings.Default.AutoStart;
StartManager.AutoStartChanged += (value =>