mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Update dialog window now is centered parent
This commit is contained in:
parent
4fc4f4247d
commit
b0d3dd8ec0
1 changed files with 1 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue