diff options
Diffstat (limited to 'UVtools.WPF/Controls/WindowEx.cs')
-rw-r--r-- | UVtools.WPF/Controls/WindowEx.cs | 6 |
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; |