From 6e2b3fc40f6f8176f6e17cba5ae6480bf9b525e8 Mon Sep 17 00:00:00 2001 From: Adrian Jachacy Date: Fri, 28 Jun 2013 09:04:39 +0100 Subject: [PATCH] CP-4946: PR-1634: Bulk import of FibreChannel LUNs in DR Wizard. Clear All button disabled when no rows selected; Select All button disabled when all rows selected. Signed-off-by: Adrian Jachacy --- XenAdmin/Wizards/DRWizards/DRFailoverWizardStoragePage.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/XenAdmin/Wizards/DRWizards/DRFailoverWizardStoragePage.cs b/XenAdmin/Wizards/DRWizards/DRFailoverWizardStoragePage.cs index bd2ccc105..3255fc22e 100644 --- a/XenAdmin/Wizards/DRWizards/DRFailoverWizardStoragePage.cs +++ b/XenAdmin/Wizards/DRWizards/DRFailoverWizardStoragePage.cs @@ -87,6 +87,8 @@ namespace XenAdmin.Wizards.DRWizards public override bool EnableNext() { + buttonClearAll.Enabled = SelectedSRsUuids.Count > 0; + buttonSelectAll.Enabled = SelectedSRsUuids.Count < dataGridViewSRs.Rows.OfType().Count(); return SelectedSRsUuids.Count > 0; }