Project

General

Profile

Revision 693c1847

ID693c1847b9779656a65b9daf17e2cd2f4c4b49d6
Parent 132209be
Child b7544987

Added by Katja Luther over 1 year ago

ref 7849: create new pref if not exist for nomcl code

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/NomenclaturalCodePreferences.java
89 89
              pref = service.find(key);
90 90
              //getPreferenceStore().setValue(IPreferenceKeys.ALLOW_OVERRIDE_NOMENCLATURAL_CODE_KEY, pref == null? true : pref.isAllowOverride());
91 91
          }
92
          if (pref == null){
93
              pref = CdmPreference.NewDatabaseInstance(PreferencePredicate.NomenclaturalCode, PreferencePredicate.NomenclaturalCode.getDefaultValue().toString());
94
          }
92 95

  
93 96
	    if (pref.isAllowOverride()) {
94 97
	        setDescription(Messages.NomenclaturalCodePreferences_choose);

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)