Properties window will hide and show instead of open and close

This commit is contained in:
erri120 2019-10-07 15:35:47 +02:00
parent affb15f4d9
commit b7a2279a3a
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135

View File

@ -174,10 +174,15 @@ namespace Wabbajack
return new LambdaCommand(() => true, () => OpenModListProperties());
}
}
internal ModlistPropertiesWindow modlistPropertiesWindow;
private void OpenModListProperties()
{
new ModlistPropertiesWindow().Show();
if(modlistPropertiesWindow == null)
{
modlistPropertiesWindow = new ModlistPropertiesWindow(this);
}
modlistPropertiesWindow.Show();
}
public string _nexusSiteURL = null;