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,7 +372,8 @@ namespace XenAdmin.Wizards.HAWizard_Pages
|
||||
Program.AssertOnEventThread();
|
||||
|
||||
var row = findItemFromVM(vm);
|
||||
dataGridViewVms.Rows.Remove(row);
|
||||
if (row != null)
|
||||
dataGridViewVms.Rows.Remove(row);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user