Reset ovfMaxVCpusCount when a new OVF is selected

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
This commit is contained in:
Danilo Del Busso 2023-06-16 11:37:32 +01:00
parent a2a5ae0cf4
commit 084215feaf
No known key found for this signature in database

View File

@ -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");