mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
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:
parent
34582ca91b
commit
9d5dafaed6
7 changed files with 37 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue