Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.GUI/Controls/Tools/CtrlToolLayerImport.cs')
-rw-r--r--UVtools.GUI/Controls/Tools/CtrlToolLayerImport.cs5
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;
}
}