ref #9806: disable cloned descriptions
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / view / descriptive / e4 / handler / DynamicFeatureMenuE4.java
index 73357b22ee875ea3ae499700a47c6bf8257c7302..158f91938b9d8408de3d83bc0265965fa3b9515e 100644 (file)
@@ -55,7 +55,7 @@ public class DynamicFeatureMenuE4 {
         Object selectedElement = selection.getFirstElement();
 
         if (selectedElement instanceof DescriptionBase<?>) {
-            if (((DescriptionBase<?>) selectedElement).isComputed() && PreferencesUtil.isComputedDesciptionHandlingDisabled()){
+            if ((((DescriptionBase<?>) selectedElement).isComputed() || ((DescriptionBase<?>) selectedElement).isCloneForSource())&& PreferencesUtil.isComputedDesciptionHandlingDisabled()){
                 items.remove(menu);
                 return;
             }