Project

General

Profile

« Previous | Next » 

Revision b5f2ab89

Added by Katja Luther over 5 years ago

ref #7849: do not set details part of specimen pref page invisible

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/SpecimenOrObservationPreferences.java
101 101
                 setApply(true);
102 102
                 isShowSpecimenRelatedIssues = showSpecimenButton.getSelection();
103 103
                 if(isShowSpecimenRelatedIssues){
104
                     composite.setVisible(true);
104
                     //composite.setVisible(true);
105 105
                     composite.setEnabled(true);
106 106
                 }else{
107
                     composite.setVisible(false);
107
                     //composite.setVisible(false);
108 108
                     composite.setEnabled(false);
109 109
                 }
110 110
              }
......
278 278
            });
279 279
        }else{
280 280
            allowOverrideShowLifeFormButton.setSelection(overrideShowLifeForm);
281
            //showLifeFormButton.setEnabled(overrideShowLifeForm);
281 282
            allowOverrideShowLifeFormButton.addSelectionListener(new SelectionAdapter(){
282 283
                @Override
283 284
                public void widgetSelected(SelectionEvent e) {
284 285
                    setApply(true);
285 286
                    overrideShowLifeForm = allowOverrideShowLifeFormButton.getSelection();
287
                    //showLifeFormButton.setEnabled(overrideShowLifeForm);
286 288
                }
287 289
            });
288 290
            if (!allowOverrideShowLifeForm){
......
294 296
        if (!isEditingAllowed){
295 297
            PreferencesUtil.recursiveSetEnabled(composite, false);
296 298
        }
297
        composite.setVisible(isShowSpecimenRelatedIssues);
299
       // composite.setVisible(isShowSpecimenRelatedIssues);
298 300
        composite.setEnabled(isShowSpecimenRelatedIssues);
299 301
        return composite;
300 302
    }

Also available in: Unified diff