diff options
Diffstat (limited to 'UVtools.GUI/Controls/Tools/CtrlToolLayerImport.cs')
-rw-r--r-- | UVtools.GUI/Controls/Tools/CtrlToolLayerImport.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/UVtools.GUI/Controls/Tools/CtrlToolLayerImport.cs b/UVtools.GUI/Controls/Tools/CtrlToolLayerImport.cs index 41b591a..53090af 100644 --- a/UVtools.GUI/Controls/Tools/CtrlToolLayerImport.cs +++ b/UVtools.GUI/Controls/Tools/CtrlToolLayerImport.cs @@ -40,6 +40,7 @@ namespace UVtools.GUI.Controls.Tools Operation.ReplaceStartLayer = cbReplaceStartLayer.Checked; Operation.ReplaceSubsequentLayers = cbReplaceSubsequentLayers.Checked; Operation.DiscardRemainingLayers = cbDiscardRemainingLayers.Checked; + Operation.MergeImages = cbMergeImages.Checked; return true; } @@ -79,10 +80,12 @@ namespace UVtools.GUI.Controls.Tools { if (ReferenceEquals(sender, cbReplaceSubsequentLayers)) { - cbDiscardRemainingLayers.Enabled = cbReplaceSubsequentLayers.Checked; + cbDiscardRemainingLayers.Enabled = cbDiscardRemainingLayers.Enabled = cbReplaceSubsequentLayers.Checked; + cbMergeImages.Enabled = cbReplaceSubsequentLayers.Checked; if (!cbReplaceSubsequentLayers.Checked) { cbDiscardRemainingLayers.Checked = false; + cbMergeImages.Checked = false; } } |