mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
CA-320182: Error in adding vGPU in New VM wizard.
Signed-off-by: Michael Z <michael.zhao@citrix.com>
This commit is contained in:
parent
9a26478a16
commit
a0e3649ba8
@ -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];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user