Project

General

Profile

« Previous | Next » 

Revision c4dcde9b

Added by Niels Hoffmann about 12 years ago

Removed all calls to active menu selection (fixes #1106)

View differences:

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