fix finish and open of newTaxonnodewizard
authorKatja Luther <k.luther@bgbm.org>
Fri, 8 Feb 2019 08:51:06 +0000 (09:51 +0100)
committerKatja Luther <k.luther@bgbm.org>
Fri, 8 Feb 2019 08:51:06 +0000 (09:51 +0100)
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/handler/NewTaxonNodeHandlerE4.java

index 98f5613e41f6f92a49d728430e502eb7351b25fe..c3a27ff4b231be1ca6f977d3d177cfd5d1fde8d7 100644 (file)
@@ -60,8 +60,8 @@ public class NewTaxonNodeHandlerE4 {
                    EventUtility.postEvent(WorkbenchEventConstants.REFRESH_NAVIGATOR, true);
                        if(wizard.openEmpty()){
                 EditorUtil.openEmptyE4(wizard.getParentTreeNode().getUuid());
-                       }else if(wizard.getTaxonNode() != null){
-                EditorUtil.openTaxonNodeE4(wizard.getTaxonNode().getUuid(), modelService, partService, application);
+                       }else if(wizard.getEntity() != null){
+                EditorUtil.openTaxonNodeE4(wizard.getEntity().getUuid(), modelService, partService, application);
                        }
                }
        }