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(); } } }