mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
Hide the client update button by default. Added null check.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
59e45f40c6
commit
ff76729940
@ -245,6 +245,8 @@ namespace XenAdmin
|
|||||||
licenseTimer = new LicenseTimer(licenseManagerLauncher);
|
licenseTimer = new LicenseTimer(licenseManagerLauncher);
|
||||||
GeneralPage.LicenseLauncher = licenseManagerLauncher;
|
GeneralPage.LicenseLauncher = licenseManagerLauncher;
|
||||||
|
|
||||||
|
updateClientToolStripMenuItem.Visible = false;
|
||||||
|
|
||||||
xenSourceOnTheWebToolStripMenuItem.Text = string.Format(xenSourceOnTheWebToolStripMenuItem.Text,
|
xenSourceOnTheWebToolStripMenuItem.Text = string.Format(xenSourceOnTheWebToolStripMenuItem.Text,
|
||||||
BrandManager.ProductBrand);
|
BrandManager.ProductBrand);
|
||||||
viewApplicationLogToolStripMenuItem.Text = string.Format(viewApplicationLogToolStripMenuItem.Text, BrandManager.BrandConsole);
|
viewApplicationLogToolStripMenuItem.Text = string.Format(viewApplicationLogToolStripMenuItem.Text, BrandManager.BrandConsole);
|
||||||
@ -3340,7 +3342,7 @@ namespace XenAdmin
|
|||||||
private void dismissToolStripMenuItem_Click(object sender, EventArgs e)
|
private void dismissToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
Program.Invoke(this, () => { updateClientToolStripMenuItem.Visible = false; });
|
Program.Invoke(this, () => { updateClientToolStripMenuItem.Visible = false; });
|
||||||
updateAlert.Dismiss();
|
updateAlert?.Dismiss();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void downloadInstallToolStripMenuItem_Click(object sender, EventArgs e)
|
private void downloadInstallToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
Loading…
Reference in New Issue
Block a user