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/SettingsWindow.axaml.cs')
-rw-r--r--UVtools.WPF/Windows/SettingsWindow.axaml.cs2
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);