mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fixed properties window not showing when closed
This commit is contained in:
parent
3a4131a8f9
commit
b6ec1acc18
@ -249,7 +249,13 @@ namespace Wabbajack
|
||||
ChangedProperties = false;
|
||||
|
||||
}
|
||||
modlistPropertiesWindow.Show();
|
||||
if(!modlistPropertiesWindow.IsClosed)
|
||||
modlistPropertiesWindow.Show();
|
||||
else
|
||||
{
|
||||
modlistPropertiesWindow = null;
|
||||
OpenModListProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -62,5 +62,12 @@ namespace Wabbajack
|
||||
Hide();
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsClosed { get; private set; }
|
||||
protected override void OnClosed(EventArgs e)
|
||||
{
|
||||
base.OnClosed(e);
|
||||
IsClosed = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user