Revision c6828e67
Added by Katja Luther over 4 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/TaxonNavigatorE4.java | ||
---|---|---|
302 | 302 |
taxonNode = new TaxonNodeDto(editor.getTaxon().getTaxonNodes().iterator().next()); |
303 | 303 |
} |
304 | 304 |
} |
305 |
if (taxonNode != null){ |
|
306 |
viewer.reveal(taxonNode); |
|
307 |
viewer.setSelection(new StructuredSelection(taxonNode)); |
|
308 |
} |
|
305 | 309 |
|
306 |
viewer.reveal(taxonNode); |
|
307 |
viewer.setSelection(new StructuredSelection(taxonNode)); |
|
308 | 310 |
} |
309 | 311 |
} |
310 | 312 |
} |
Also available in: Unified diff
fix NoSuchElementException for taxa without nodes - continue