Project

General

Profile

« Previous | Next » 

Revision 6ff64c46

Added by Katja Luther about 5 years ago

fix problems in preferences views -continue

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/ChecklistEditorGeneralPreference.java
77 77
        getValues();
78 78
        Composite composite = new Composite(parent, SWT.NULL);
79 79
        composite.setLayout(new GridLayout());
80
        if(!isAdminPreference && !Boolean.valueOf(distributionEditorPref.getValue())){
80
        if(!isAdminPreference && !Boolean.valueOf(distributionEditorPref.getValue()) && !distributionEditorPref.isAllowOverride()){
81 81
            Label label = new Label(composite, SWT.NONE);
82 82
            label.setText("The CDM settings don't allow to set the preferences for using the distribution editor locally. If you need to make local settings, please ask an administrator.");
83 83

  
......
406 406
                   button_openStatusWizard.setButtonEnabled(false);
407 407
               }
408 408
            }
409
            PreferencesUtil.recursiveSetEnabled(child, isEditorActivated);
409 410
        }
410
        PreferencesUtil.recursiveSetEnabled(child, isEditorActivated);
411

  
412

  
411 413
        setValid(true);
412 414
        return composite;
413 415
    }

Also available in: Unified diff