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.Core/FileFormats/ZCodexFile.cs')
-rw-r--r--UVtools.Core/FileFormats/ZCodexFile.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.Core/FileFormats/ZCodexFile.cs b/UVtools.Core/FileFormats/ZCodexFile.cs
index 35eec6d..c6c0ba9 100644
--- a/UVtools.Core/FileFormats/ZCodexFile.cs
+++ b/UVtools.Core/FileFormats/ZCodexFile.cs
@@ -206,10 +206,10 @@ namespace UVtools.Core.FileFormats
{
set
{
- UserSettings.MaxLayer = LayerCount - 1;
+ UserSettings.MaxLayer = LastLayerIndex;
ResinMetadataSettings.TotalLayersCount = LayerCount;
- RebuildGCode();
RaisePropertyChanged();
+ RaisePropertyChanged(nameof(NormalLayerCount));
}
}