Project

General

Profile

« Previous | Next » 

Revision b9801dc0

Added by Katja Luther over 7 years ago

ref #5969: get the preference NC from db when initialize preference store and save the changes in db

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/datasource/wizard/CdmDataSourceCredentialsWizardPage.java
258 258
		nomenclaturalCodeGroup = new Group(composite , SWT.NONE);
259 259
		nomenclaturalCodeGroup.setLayout(new GridLayout());
260 260

  
261
		nomenclaturalCode = dataSource != null ? dataSource.getNomenclaturalCode() : PreferencesUtil.getPreferredNomenclaturalCode();
261
		nomenclaturalCode = dataSource != null ? dataSource.getNomenclaturalCode() : PreferencesUtil.getPreferredNomenclaturalCode(true);
262 262

  
263 263
		for (final NomenclaturalCode code : NomenclaturalCodeHelper.getSupportedCodes()) {
264 264
			Button button = new Button(nomenclaturalCodeGroup, SWT.RADIO);

Also available in: Unified diff