changed call to createEmptyComboElement
authorl.morris <l.morris@localhost>
Wed, 18 Jan 2012 10:55:00 +0000 (10:55 +0000)
committerl.morris <l.morris@localhost>
Wed, 18 Jan 2012 10:55:00 +0000 (10:55 +0000)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/forms/MultilanguageTextElement.java

index 91829bbe3eb12e68d8e9b0fc14a262d84fb4679b..02c7d690bc75cfec79c819b6d685d9078d754784 100644 (file)
@@ -115,8 +115,8 @@ public class MultilanguageTextElement extends AbstractCdmFormElement implements
                                                null, textHeight, style);
 
                if (PreferencesUtil.isMultilanguageTextEditingCapability()) {
-                       combo_language = (EmptyComboElement<Language>) formFactory
-                                       .createTermComboElement(Language.class, formElement,
+                       combo_language = formFactory
+                                       .createEmptyComboElement(Language.class, formElement,
                                                        "", null, style);
                        combo_language.addSelectionListener(this);
                        addControl(formFactory.createLabel(getLayoutComposite(), ""));