xenadmin/XenAdmin/Controls/ComboBoxes
Mihaela Stoica 3f7f33fc40 CA-210732: XenCenter VM properties GPU always shows "None" (#983)
* CA-210732: XenCenter VM properties GPU always shows "None"

The error occurs when there is a gpu group with only one vgpu type: When setting the selected item in the vGPU combobox, XenCenter tries to select the group header instead of the vGPU type; because the group header is not selectable, we then default to "None".
With this fix, we ensure that two items are not equal if one is a group header and the other is a subitem.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

* CA-210732: XenCenter VM properties GPU always shows "None"

Changes following code review: Added the reverse case in the Equals function

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

* CA-210732: XenCenter VM properties GPU always shows "None"

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-05-12 13:44:16 +01:00
..
CDChanger.cs Revert "CA-149867: Invoke on MainWindow instead of various controls" 2015-04-16 14:17:02 +01:00
CPUTopologyComboBox.cs CA-198276: Restrict number of sockets to 16 2016-02-12 17:01:05 +00:00
EnableableComboBox.cs CA-82957: Refactoring to our custom ComboBoxes with regards to resource management and disposal. 2013-09-27 16:57:50 +01:00
ISODropDownBox.cs CA-201421: tools ISO is missing in drop-down list 2016-02-25 17:18:48 +00:00
LongStringComboBox.cs CA-82957: Refactoring to our custom ComboBoxes with regards to resource management and disposal. 2013-09-27 16:57:50 +01:00
LongStringComboBox.Designer.cs CA-82957: Refactoring to our custom ComboBoxes with regards to resource management and disposal. 2013-09-27 16:57:50 +01:00
LongStringComboBox.ja.resx L10N:Dundee:Translation check-ins 2016-04-20 19:16:33 +05:30
LongStringComboBox.resx CA-82957: Refactoring to our custom ComboBoxes with regards to resource management and disposal. 2013-09-27 16:57:50 +01:00
LongStringComboBox.zh-CN.resx L10N:Dundee:Translation check-ins 2016-04-20 19:16:33 +05:30
NetworkComboBox.cs CA-82957: Refactoring to our custom ComboBoxes with regards to resource management and disposal. 2013-09-27 16:57:50 +01:00
NetworkComboBoxItem.cs CP-6083: Preliminary tidy up: moved all custom comboboxes into a subfolder of the Controls folder. 2013-09-13 12:43:29 +01:00
NonSelectableComboBox.cs CP-6083: Preliminary refactoring: moved common code responsible for skipping non 2013-09-16 10:13:21 +01:00
VgpuComboBox.cs CA-210732: XenCenter VM properties GPU always shows "None" (#983) 2016-05-12 13:44:16 +01:00