disable details for distributions in distribution editor
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / view / e4 / AbstractCdmEditorPartE4.java
index 557a2d912ddb09b854df341986f6b5b44856cac0..da40378ff3cf8158c75b9ead98c9d828ebf30a15 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);
+                    }
 
                 }