package eu.etaxonomy.taxeditor.navigation.handler;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.UUID;
+
import org.apache.log4j.Logger;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
Shell shell = NavigationUtil.getShell();
TaxonNode taxonNode = (TaxonNode) NavigationUtil.getCurrentSelection(event);
- parentTaxonNode = FilteredTaxonNodeSelectionDialog.selectTaxonNode(shell, null);
+ // do not show the current selection
+ List<UUID> excludeTaxa = new ArrayList<UUID>();
+ excludeTaxa.add(taxonNode.getTaxon().getUuid());
+ parentTaxonNode = FilteredTaxonNodeSelectionDialog.selectTaxonNode(shell, excludeTaxa);
if(parentTaxonNode != null){