From 09819b2a025783b29f35e34e65170af9ac0efc62 Mon Sep 17 00:00:00 2001 From: Gabor Apati-Nagy Date: Tue, 8 Mar 2016 13:51:39 +0000 Subject: [PATCH] CA-202068: License Manager wizard showing "Activate Free XenServer" button even no host selected for editing license Fixed, now the button is only shown when needed Signed-off-by: Gabor Apati-Nagy --- XenAdmin/Dialogs/LicenseManager/LicenseManager.cs | 1 - XenAdmin/Dialogs/LicenseManager/LicenseManagerController.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/XenAdmin/Dialogs/LicenseManager/LicenseManager.cs b/XenAdmin/Dialogs/LicenseManager/LicenseManager.cs index ae7fd0db9..499c7c8f7 100644 --- a/XenAdmin/Dialogs/LicenseManager/LicenseManager.cs +++ b/XenAdmin/Dialogs/LicenseManager/LicenseManager.cs @@ -308,7 +308,6 @@ namespace XenAdmin.Dialogs } else { - activateFreeXenServerButton.Show(); assignLicenceButton.Show(); releaseLicenseButton.Show(); } diff --git a/XenAdmin/Dialogs/LicenseManager/LicenseManagerController.cs b/XenAdmin/Dialogs/LicenseManager/LicenseManagerController.cs index 08d2469af..1568975c2 100644 --- a/XenAdmin/Dialogs/LicenseManager/LicenseManagerController.cs +++ b/XenAdmin/Dialogs/LicenseManager/LicenseManagerController.cs @@ -356,7 +356,7 @@ namespace XenAdmin.Dialogs View.DrawAssignButtonAsDisabled(true); View.DrawReleaseButtonAsDisabled(true); View.DrawActivateButtonAsDisabled(true); - View.DrawActivateButtonAsHidden(ReadOnlyView); + View.DrawActivateButtonAsHidden(true); } private void ResetButtonEnablement()