Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WesternGamer committed Nov 10, 2022
1 parent d7dca66 commit 97bb07e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Tools/TextureTool/Views/SettingsView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ private void OKClick(object sender, RoutedEventArgs e)
}
XMLWriter.WriteXMLEntry("false", RedMInstallationFolderTextBox.Text);
XMLReader.ConverterDirectory = RedMInstallationFolderTextBox.Text;
this.Close();
}
else
{
Expand All @@ -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();
}
}
}

0 comments on commit 97bb07e

Please sign in to comment.