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/Controls/WindowEx.cs')
-rw-r--r--UVtools.WPF/Controls/WindowEx.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/UVtools.WPF/Controls/WindowEx.cs b/UVtools.WPF/Controls/WindowEx.cs
index 3925d32..adc67a7 100644
--- a/UVtools.WPF/Controls/WindowEx.cs
+++ b/UVtools.WPF/Controls/WindowEx.cs
@@ -104,7 +104,11 @@ public class WindowEx : Window, INotifyPropertyChanged, IStyleable
public double WindowsWidthMaxSizeRatio { get; set; } = 1;
public double WindowsHeightMaxSizeRatio { get; set; } = 1;
- public bool IsDebug => App.IsDebug;
+ public bool IsDebug
+ {
+ get => Program.IsDebug;
+ set => Program.IsDebug = value;
+ }
public UserSettings Settings => UserSettings.Instance;