Revision a316f71d
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmEditorPartE4.java | ||
---|---|---|
206 | 206 |
Taxon accepted = ((ITaxonEditor) part).getTaxon(); |
207 | 207 |
Set<TaxonRelationship> rels = taxon.getTaxonRelations(accepted); |
208 | 208 |
|
209 |
if (rels != null && rels.iterator().hasNext()){ |
|
209 |
if (rels != null && rels.iterator().hasNext() && !taxon.equals(accepted)){
|
|
210 | 210 |
TaxonRelationship rel = rels.iterator().next(); |
211 | 211 |
if ((rel.getType().isAnyMisappliedName() || rel.getType().isAnySynonym())&& !rel.getFromTaxon().equals(((ITaxonEditor) part).getTaxon())){ |
212 | 212 |
viewer.setInput(rel); |
Also available in: Unified diff
accepted taxon which is also used as MAN should be displayed correctly