diff options
Diffstat (limited to 'UVtools.WPF/Windows/SettingsWindow.axaml.cs')
-rw-r--r-- | UVtools.WPF/Windows/SettingsWindow.axaml.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UVtools.WPF/Windows/SettingsWindow.axaml.cs b/UVtools.WPF/Windows/SettingsWindow.axaml.cs index edc4bc4..0052bd0 100644 --- a/UVtools.WPF/Windows/SettingsWindow.axaml.cs +++ b/UVtools.WPF/Windows/SettingsWindow.axaml.cs @@ -116,7 +116,7 @@ namespace UVtools.WPF.Windows foreach (PropertyInfo propertyInfo in Settings.General.GetType().GetProperties(BindingFlags.Public | BindingFlags.Instance)) { if (propertyInfo.Name != field) continue; - OpenFolderDialog dialog = new OpenFolderDialog(); + OpenFolderDialog dialog = new(); var filename = await dialog.ShowAsync(this); if (string.IsNullOrEmpty(filename)) return; propertyInfo.SetValue(Settings.General, filename); |