From 084215feafcc0c6f57844fd92e2d9ad4f18304da Mon Sep 17 00:00:00 2001 From: Danilo Del Busso Date: Fri, 16 Jun 2023 11:37:32 +0100 Subject: [PATCH] Reset `ovfMaxVCpusCount` when a new OVF is selected Signed-off-by: Danilo Del Busso --- XenAdmin/Wizards/ImportWizard/ImportSelectHostPage.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/XenAdmin/Wizards/ImportWizard/ImportSelectHostPage.cs b/XenAdmin/Wizards/ImportWizard/ImportSelectHostPage.cs index 7e79220cb..aaf359f6b 100755 --- a/XenAdmin/Wizards/ImportWizard/ImportSelectHostPage.cs +++ b/XenAdmin/Wizards/ImportWizard/ImportSelectHostPage.cs @@ -107,6 +107,7 @@ namespace XenAdmin.Wizards.ImportWizard return; _ovfVCpusCount.Clear(); + _ovfMaxVCpusCount = 0; foreach (var vsType in vsColl.Content) { var vhs = OVF.FindVirtualHardwareSectionByAffinity(SelectedOvfEnvelope, vsType.id, "xen");