diff --git a/XenAdmin/Wizards/ImportWizard/ImportWizard.cs b/XenAdmin/Wizards/ImportWizard/ImportWizard.cs index daeec0279..88cb38bff 100644 --- a/XenAdmin/Wizards/ImportWizard/ImportWizard.cs +++ b/XenAdmin/Wizards/ImportWizard/ImportWizard.cs @@ -404,7 +404,7 @@ namespace XenAdmin.Wizards.ImportWizard m_pageXvaNetwork.SelectedAffinity = _selectedAffinity; if (oldTargetConnection != _targetConnection || - oldSelectedAffinity != null && _selectedAffinity != null && oldSelectedAffinity.opaque_ref != _selectedAffinity.opaque_ref) + oldSelectedAffinity?.opaque_ref != _selectedAffinity?.opaque_ref) NotifyNextPagesOfChange(m_pageXvaStorage, m_pageXvaNetwork); } else if (type == typeof(StoragePickerPage))