minor
authorKatja Luther <k.luther@bgbm.org>
Wed, 7 Oct 2015 10:34:54 +0000 (12:34 +0200)
committerKatja Luther <k.luther@bgbm.org>
Wed, 7 Oct 2015 10:34:54 +0000 (12:34 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/EntitySelectionElement.java

index c6eb41e509b588678a125459e851096dd140d764..32c20fd1db216730d29b779dc0e29a70426bf286 100644 (file)
@@ -260,13 +260,15 @@ public class EntitySelectionElement<T extends ICdmBase> extends
        /** {@inheritDoc} */
        @Override
        public void setEnabled(boolean enabled) {
-           button_selection.setEnabled(enabled);
-           if(isDeletable){
-               button_remove.setEnabled(enabled);
-           }
-           if (isEditable) {
-               updateButtonStates();
-           }
+
+               button_selection.setEnabled(enabled);
+               if (isDeletable){
+                   button_remove.setEnabled(enabled);
+               }
+               if (isEditable) {
+                       updateButtonStates();
+               }
+
        }
 
        /* (non-Javadoc)