Fixed a crashing bug when the server manager closes and is unable to find the backup location to save the config settings.

This commit is contained in:
Brett Hewitson 2021-11-23 16:04:41 +10:00
parent 34582ca91b
commit 9d5dafaed6
7 changed files with 37 additions and 10 deletions

View file

@ -211,7 +211,7 @@ namespace ServerManagerTool
private void Window_SizeChanged(object sender, SizeChangedEventArgs e)
{
if (this.WindowState != WindowState.Minimized)
if (this.WindowState == WindowState.Normal)
{
Config.Default.MainWindow_Height = e.NewSize.Height;
Config.Default.MainWindow_Width = e.NewSize.Width;