Revision c4dcde9b
Added by Niels Hoffmann about 12 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/handler/CreateDescriptionElementHandler.java | ||
---|---|---|
66 | 66 |
|
67 | 67 |
TaxonDescription description = null; |
68 | 68 |
|
69 |
ISelection selection = HandlerUtil.getActiveMenuSelection(event);
|
|
69 |
ISelection selection = HandlerUtil.getCurrentSelection(event);
|
|
70 | 70 |
if (selection instanceof ITreeSelection) { |
71 | 71 |
TreePath[] paths = ((ITreeSelection) selection).getPaths(); |
72 | 72 |
Object firstSegment = paths[0].getFirstSegment(); |
Also available in: Unified diff
Removed all calls to active menu selection (fixes #1106)