mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-22 07:43:56 +02:00
fix for bug 138324.
This commit is contained in:
parent
3a3ba45922
commit
15ddfa7b81
1 changed files with 9 additions and 0 deletions
|
@ -193,6 +193,15 @@ public class SystemComboBoxCellEditor extends CellEditor
|
||||||
System.out.println("in doSetValue: " + comboBox + ", " + value);
|
System.out.println("in doSetValue: " + comboBox + ", " + value);
|
||||||
if (!(value instanceof Integer))
|
if (!(value instanceof Integer))
|
||||||
{
|
{
|
||||||
|
String[] items = comboBox.getItems();
|
||||||
|
for (int i = 0; i < items.length; i++)
|
||||||
|
{
|
||||||
|
String item = items[i];
|
||||||
|
if (item.equals(value))
|
||||||
|
{
|
||||||
|
selection = i;
|
||||||
|
}
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue