mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
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 <Adrian.Jachacy@citrix.com>
This commit is contained in:
parent
58e187d981
commit
6e2b3fc40f
@ -87,6 +87,8 @@ namespace XenAdmin.Wizards.DRWizards
|
|||||||
|
|
||||||
public override bool EnableNext()
|
public override bool EnableNext()
|
||||||
{
|
{
|
||||||
|
buttonClearAll.Enabled = SelectedSRsUuids.Count > 0;
|
||||||
|
buttonSelectAll.Enabled = SelectedSRsUuids.Count < dataGridViewSRs.Rows.OfType<SrRow>().Count();
|
||||||
return SelectedSRsUuids.Count > 0;
|
return SelectedSRsUuids.Count > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user