mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CA-118787: Assign priorities page on HA Wizard: Try to avoid ArgumentNullException on removing rows by checking for null values.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
parent
1ea75bc8ad
commit
2c050458a7
@ -372,6 +372,7 @@ namespace XenAdmin.Wizards.HAWizard_Pages
|
||||
Program.AssertOnEventThread();
|
||||
|
||||
var row = findItemFromVM(vm);
|
||||
if (row != null)
|
||||
dataGridViewVms.Rows.Remove(row);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user