ref #10080: avoid multiple call of setEntity()
authorKatja Luther <k.luther@bgbm.org>
Mon, 12 Sep 2022 13:36:06 +0000 (15:36 +0200)
committerKatja Luther <k.luther@bgbm.org>
Mon, 12 Sep 2022 13:36:06 +0000 (15:36 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/AbstractTypeDesignationElement.java

index 9d1d0d580e61923ef576f6c14a5d78c7467ebba4..abda6303b75943fd8e7b48941da4d7a6583f93d7 100644 (file)
@@ -55,15 +55,10 @@ public abstract class AbstractTypeDesignationElement<T extends TypeDesignationBa
 
        @Override
        public void createControls(ICdmFormElement formElement, int style) {
-           checkbox_notDesignated = formFactory.createCheckbox(formElement, "Not Designated", false, style);
-
-//        sourceSection = formFactory.createSourceSection(getConversationHolder(), formElement, StoreUtil.getSectionStyle(SourceSection.class, IdentifiableSource.class.getCanonicalName()));
-//        sourceSection.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
+//         checkbox_notDesignated = formFactory.createCheckbox(formElement, "Not Designated", false, style);
                this.formElement = formElement;
                this.style = style;
-//             if (this.entity != null){
-                       this.setEntity(entity);
-//             }
+
        }
 
        @Override