Update dialog window now is centered parent

This commit is contained in:
Alexander 2019-11-09 20:19:19 +02:00
parent 4fc4f4247d
commit b0d3dd8ec0

View file

@ -308,6 +308,7 @@ private void CheckForUpdates(bool autoCheck)
int appVersion = Convert.ToInt32(version.Replace(".", "")), serverVersion = Convert.ToInt32(content.Replace(".", ""));
if (serverVersion > appVersion)
{
PublicVar.messageBoxCenterParent = true;
if (statusPanel.Visible)
{
StatusPanelMessage("update-needed");