diff options
Diffstat (limited to 'UVtools.WPF/Controls/Tools/ToolControl.axaml.cs')
-rw-r--r-- | UVtools.WPF/Controls/Tools/ToolControl.axaml.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.WPF/Controls/Tools/ToolControl.axaml.cs b/UVtools.WPF/Controls/Tools/ToolControl.axaml.cs index 7f7270d..e88db59 100644 --- a/UVtools.WPF/Controls/Tools/ToolControl.axaml.cs +++ b/UVtools.WPF/Controls/Tools/ToolControl.axaml.cs @@ -1,6 +1,5 @@ using System.Threading.Tasks; using Avalonia.Markup.Xaml; -using UVtools.Core.FileFormats; using UVtools.Core.Objects; using UVtools.Core.Operations; using UVtools.WPF.Extensions; @@ -17,7 +16,8 @@ namespace UVtools.WPF.Controls.Tools get => _baseOperation; set { - if(!RaiseAndSetIfChanged(ref _baseOperation, value)) return; + _baseOperation = value; + RaisePropertyChanged(); if (DataContext is null) return; ResetDataContext(); } |