Project

General

Profile

« Previous | Next » 

Revision 5d616c75

Added by Katja Luther over 4 years ago

fix taxon search configurator preference

View differences:

eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/search/SearchBar.java
338 338
				configurator.setDoNamesWithoutTaxa(configurator.isDoNamesWithoutTaxa() ? false : true);
339 339
				break;
340 340
			case COMMON_NAME:
341
				configurator.setDoTaxaByCommonNames(getConfigurator().isDoTaxaByCommonNames() ? false : true);
341
				configurator.setDoTaxaByCommonNames(configurator.isDoTaxaByCommonNames() ? false : true);
342 342
				break;
343 343
			}
344 344

  
......
350 350
		}
351 351

  
352 352
		private void saveConfigurator() {
353
			PreferencesUtil.setSearchConfigurator(getConfigurator());
354
			this.configurator = PreferencesUtil.getSearchConfigurator();
353
			PreferencesUtil.setSearchConfigurator(configurator);
354
			PreferencesUtil.firePreferencesChanged(this.getClass());
355

  
355 356
		}
356 357
	}
357 358

  

Also available in: Unified diff