CA-320182: Error in adding vGPU in New VM wizard.

Signed-off-by: Michael Z <michael.zhao@citrix.com>
This commit is contained in:
Michael Z 2019-05-31 15:02:45 +08:00
parent 9a26478a16
commit a0e3649ba8

View File

@ -91,7 +91,7 @@ namespace XenAdmin.Dialogs
comboBoxTypes.Items.Add(new GpuTuple(gpu_group, vgpuType, disabledTypes.ToArray())); // GPU_type item
if (commonTypes.Count == 1 && !disabledTypes.Contains(commonTypes[0]))
comboBoxTypes.SelectedItem = comboBoxTypes.Items[1]; // Items[0] is group
comboBoxTypes.SelectedItem = comboBoxTypes.Items[0];
}
}
}