diff --git a/Configurator/Configurator.Net/ArducopterConfigurator.csproj b/Configurator/Configurator.Net/ArducopterConfigurator.csproj index db2be45e89..9c109e5b3d 100644 --- a/Configurator/Configurator.Net/ArducopterConfigurator.csproj +++ b/Configurator/Configurator.Net/ArducopterConfigurator.csproj @@ -33,7 +33,7 @@ true index.htm false - 8 + 9 1.0.0.%2a false true diff --git a/Configurator/Configurator.Net/PresentationModels/StableModeConfigVm.cs b/Configurator/Configurator.Net/PresentationModels/StableModeConfigVm.cs index efead16f2b..69112ed4f1 100644 --- a/Configurator/Configurator.Net/PresentationModels/StableModeConfigVm.cs +++ b/Configurator/Configurator.Net/PresentationModels/StableModeConfigVm.cs @@ -25,9 +25,33 @@ namespace ArducopterConfigurator.PresentationModels }; } - public float KPrate { get; set; } - public bool MagnetometerEnable { get; set; } + private float _kprate; + + public float KPrate + { + get { return _kprate; } + set + { + if (_kprate == value) return; + _kprate = value; + FirePropertyChanged("KPrate"); + } + } + + + private bool _magEnable; + + public bool MagnetometerEnable + { + get { return _magEnable; } + set + { + if (_magEnable == value) return; + _magEnable = value; + FirePropertyChanged("MagnetometerEnable"); + } + } public override string Name {