diff --git a/Desktop/Application/MaxMix/ViewModels/SettingsViewModel.cs b/Desktop/Application/MaxMix/ViewModels/SettingsViewModel.cs index 6c652cc1..2882b5a7 100644 --- a/Desktop/Application/MaxMix/ViewModels/SettingsViewModel.cs +++ b/Desktop/Application/MaxMix/ViewModels/SettingsViewModel.cs @@ -1,4 +1,5 @@ using System.Reflection; +using System.Runtime.CompilerServices; namespace MaxMix.ViewModels { @@ -242,6 +243,12 @@ private void SetRunAtStartup(bool enabled) #endregion #region EventHandlers + protected override void SetProperty(ref T field, T value, [CallerMemberName] string name = null) + { + base.SetProperty(ref field, value, name); + _settings.Save(); + + } #endregion } } \ No newline at end of file