diff --git a/src/ViewModels/ButtonMapViewModel.cs b/src/ViewModels/ButtonMapViewModel.cs index 9722f5a..0735f55 100644 --- a/src/ViewModels/ButtonMapViewModel.cs +++ b/src/ViewModels/ButtonMapViewModel.cs @@ -51,7 +51,12 @@ public HOTASButton.ButtonType Type public bool IsOneShot { get => _hotasButton.IsOneShot; - set => _hotasButton.IsOneShot = value; + set + { + if (_hotasButton.IsOneShot == value) return; + _hotasButton.IsOneShot = value; + OnPropertyChanged(nameof(IsOneShot)); + } } public string ActionName