Project

General

Profile

« Previous | Next » 

Revision 19633083

Added by Katja Luther about 5 years ago

smaller issues in preferences part

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/ChecklistEditorGeneralPreference.java
605 605
                orderAreas = PreferencesUtil.getSortNamedAreasInDistributionEditor();
606 606
                overrideOrderAreas = PreferencesUtil.getBooleanValue(PreferencesUtil.prefOverrideKey(EditorPreferencePredicate.AreasSortedInDistributionEditor.getKey()));
607 607
            }else{
608
                this.orderAreas = pref.getValue().toString();
608
                if (pref.getValue() != null){
609
                    orderAreas = pref.getValue().toString();
610
                }else{
611
                    orderAreas = EditorPreferencePredicate.AreasSortedInDistributionEditor.getDefaultValue().toString();
612
                }
609 613
            }
610 614
        }else{
611 615
            orderAreas = PreferencesUtil.getSortNamedAreasInDistributionEditor();

Also available in: Unified diff