1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 18:05:33 +02:00

fix for bug 138324.

This commit is contained in:
David McKnight 2006-06-21 16:51:39 +00:00
parent 3a3ba45922
commit 15ddfa7b81

View file

@ -193,6 +193,15 @@ public class SystemComboBoxCellEditor extends CellEditor
System.out.println("in doSetValue: " + comboBox + ", " + value);
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;
}