diff options
Diffstat (limited to 'UVtools.WPF/Controls/Tools/ToolEditParametersControl.axaml.cs')
-rw-r--r-- | UVtools.WPF/Controls/Tools/ToolEditParametersControl.axaml.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.WPF/Controls/Tools/ToolEditParametersControl.axaml.cs b/UVtools.WPF/Controls/Tools/ToolEditParametersControl.axaml.cs index d1e761b..ba83fec 100644 --- a/UVtools.WPF/Controls/Tools/ToolEditParametersControl.axaml.cs +++ b/UVtools.WPF/Controls/Tools/ToolEditParametersControl.axaml.cs @@ -16,7 +16,7 @@ namespace UVtools.WPF.Controls.Tools { public class ToolEditParametersControl : ToolControl { - public OperationEditParameters Operation { get; } + public OperationEditParameters Operation => BaseOperation as OperationEditParameters; public bool SupportPerLayerSettings => App.SlicerFile.SupportPerLayerSettings; public RowControl[] RowControls; @@ -110,7 +110,7 @@ namespace UVtools.WPF.Controls.Tools InitializeComponent(); App.SlicerFile.RefreshPrintParametersModifiersValues(); - BaseOperation = Operation = new OperationEditParameters(App.SlicerFile.PrintParameterModifiers); + BaseOperation = new OperationEditParameters(App.SlicerFile.PrintParameterModifiers); if (Operation.Modifiers is null || Operation.Modifiers.Length == 0) { |