- removed empty element from combo dropdown #4448
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / combo / VocabularyComboElement.java
index 9520de1b44ba894c8770d6b85df47df3aed35f99..bc920ea69b6501b01c33444eb8b5e4d1ea8e4401 100644 (file)
@@ -373,4 +373,9 @@ public class VocabularyComboElement<TERM extends DefinedTermBase<TERM>, VOC exte
                combo.setVisibleItemCount(count);
        }
 
+    public void removeEmptyElement(){
+        terms.remove(emptyElement);
+        combo.remove(EMPTY_ELEMENT_LABEL);
+    }
+
 }