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.WPF/Windows/ToolWindow.axaml.cs')
-rw-r--r--UVtools.WPF/Windows/ToolWindow.axaml.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.WPF/Windows/ToolWindow.axaml.cs b/UVtools.WPF/Windows/ToolWindow.axaml.cs
index 2d1da9c..f7ffdfa 100644
--- a/UVtools.WPF/Windows/ToolWindow.axaml.cs
+++ b/UVtools.WPF/Windows/ToolWindow.axaml.cs
@@ -611,7 +611,7 @@ namespace UVtools.WPF.Windows
}
if (toolControl.BaseOperation.HaveExecuted
- || toolControl.BaseOperation.ImportedFrom is not Operation.OperationImportFrom.None) // Loaded from something
+ || toolControl.BaseOperation.ImportedFrom != Operation.OperationImportFrom.None) // Loaded from something
{
if (toolControl.BaseOperation.HaveROI)
{
@@ -645,7 +645,7 @@ namespace UVtools.WPF.Windows
var profiles = OperationProfiles.GetOperations(ToolControl.BaseOperation.GetType());
_profiles.AddRange(profiles);
- if (toolControl.BaseOperation.ImportedFrom is Operation.OperationImportFrom.None ||
+ if (toolControl.BaseOperation.ImportedFrom == Operation.OperationImportFrom.None ||
(loadedFromSession && !Settings.Tools.LastUsedSettingsPriorityOverDefaultProfile))
{
//Operation profile = _profiles.FirstOrDefault(operation => operation.ProfileIsDefault);