From 97bb07ef9190bea97a943f92e2c10f5cd946ce7b Mon Sep 17 00:00:00 2001 From: WesternGamer Date: Wed, 9 Nov 2022 19:31:53 -0500 Subject: [PATCH] minor fix --- Tools/TextureTool/Views/SettingsView.xaml.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tools/TextureTool/Views/SettingsView.xaml.cs b/Tools/TextureTool/Views/SettingsView.xaml.cs index f797ba1..8380ec9 100644 --- a/Tools/TextureTool/Views/SettingsView.xaml.cs +++ b/Tools/TextureTool/Views/SettingsView.xaml.cs @@ -95,6 +95,7 @@ private void OKClick(object sender, RoutedEventArgs e) } XMLWriter.WriteXMLEntry("false", RedMInstallationFolderTextBox.Text); XMLReader.ConverterDirectory = RedMInstallationFolderTextBox.Text; + this.Close(); } else { @@ -107,8 +108,6 @@ private void OKClick(object sender, RoutedEventArgs e) MessageBox.Show(RedMInstallationFolderTextBox.Text + " is not a valid path. Please select a vaild path.", "An Error has Occurred.", MessageBoxButton.OK, MessageBoxImage.Error); } } - - this.Close(); } } }