Author: max.andersen(a)jboss.com
Date: 2007-09-19 06:11:30 -0400 (Wed, 19 Sep 2007)
New Revision: 3707
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/TaggedComboFieldEditor.java
Log:
JBIDE-918
don't call .toString() on defaultValue (might be null)
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/TaggedComboFieldEditor.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/TaggedComboFieldEditor.java 2007-09-19
09:53:31 UTC (rev 3706)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/TaggedComboFieldEditor.java 2007-09-19
10:11:30 UTC (rev 3707)
@@ -34,7 +34,7 @@
this.values = Collections.unmodifiableList(values);
this.floatStyle = floatStyle;
combo = new ComboFieldEditor(
- name,label,values,defaultValue.toString(),floatStyle);
+ name,label,values,defaultValue,floatStyle);
addFieldEditors(new IFieldEditor[]{new LabelFieldEditor(name,label),
combo});
}