disable details for distributions in distribution editor
authorKatja Luther <k.luther@bgbm.org>
Fri, 3 May 2019 12:49:43 +0000 (14:49 +0200)
committerKatja Luther <k.luther@bgbm.org>
Fri, 3 May 2019 12:49:43 +0000 (14:49 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmEditorPartE4.java

index 557a2d9..da40378 100644 (file)
@@ -230,7 +230,9 @@ public abstract class AbstractCdmEditorPartE4
                 selectionProvidingPart = activePart;
                 if (viewer instanceof DetailsViewerE4){
                     ((DetailsViewerE4)viewer).setInput(element, part);
-                    ((DetailsViewerE4)viewer).setDetailsEnabled(true);
+                    if (!selectionProvidingPart.getElementId().equals("eu.etaxonomy.taxeditor.editor.view.checklist.e4.DistributionEditorPart")){
+                        ((DetailsViewerE4)viewer).setDetailsEnabled(true);
+                    }
 
                 }