Project

General

Profile

« Previous | Next » 

Revision e5b6bb85

Added by Katja Luther about 5 years ago

ref #7849: show db preference for status and area vocabularies if no local prefs exist

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/SpecimenOrObservationPreferences.java
100 100
             public void widgetSelected(SelectionEvent e) {
101 101
                 setApply(true);
102 102
                 isShowSpecimenRelatedIssues = showSpecimenButton.getSelection();
103
                 if(isShowSpecimenRelatedIssues){
104
                     //composite.setVisible(true);
105
                     composite.setEnabled(true);
106
                 }else{
107
                     //composite.setVisible(false);
108
                     composite.setEnabled(false);
109
                 }
103
//                 if(isShowSpecimenRelatedIssues){
104
//                     //composite.setVisible(true);
105
//                     composite.setEnabled(true);
106
//                 }else{
107
//                     //composite.setVisible(false);
108
//                     composite.setEnabled(false);
109
//                 }
110 110
              }
111 111
         });
112 112
        Button allowOverrideIsShowSpecimenRelatedIssuesButton = createAllowOverrideButton(titleComp);
......
136 136
            }
137 137
        }
138 138
        composite = createComposite(parent);
139
        composite.setEnabled(isShowSpecimenRelatedIssues);
139
        //composite.setEnabled(isShowSpecimenRelatedIssues);
140 140
        gridData = createTextGridData();
141 141

  
142 142
        separator= new Label(composite, SWT.HORIZONTAL | SWT.SEPARATOR);
......
297 297
            PreferencesUtil.recursiveSetEnabled(composite, false);
298 298
        }
299 299
       // composite.setVisible(isShowSpecimenRelatedIssues);
300
        composite.setEnabled(isShowSpecimenRelatedIssues);
300
       // composite.setEnabled(isShowSpecimenRelatedIssues);
301 301
        return composite;
302 302
    }
303 303

  

Also available in: Unified diff