BGBM BDI Projects
/
taxeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- removed empty element from combo dropdown #4448
[taxeditor.git]
/
eu.etaxonomy.taxeditor.store
/
src
/
main
/
java
/
eu
/
etaxonomy
/
taxeditor
/
ui
/
combo
/
VocabularyComboElement.java
diff --git
a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/combo/VocabularyComboElement.java
b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/combo/VocabularyComboElement.java
index 9520de1b44ba894c8770d6b85df47df3aed35f99..bc920ea69b6501b01c33444eb8b5e4d1ea8e4401 100644
(file)
--- a/
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/combo/VocabularyComboElement.java
+++ b/
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/combo/VocabularyComboElement.java
@@
-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);
+ }
+
}