Project

General

Profile

« Previous | Next » 

Revision 19b95653

Added by Katja Luther almost 7 years ago

fix #6604: fix NPE

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NonViralNameDetailElement.java
108 108
		if(combo_nomenclaturalCode!=null){
109 109
		    combo_nomenclaturalCode.setEnabled(false);
110 110
		}
111
		toggleable_cache.setEnabled(getEntity().isProtectedTitleCache() || getEntity().isProtectedFullTitleCache());
111

  
112 112
		if(toggleable_cache!=null){
113
		    toggleable_cache.setEnabled(getEntity().isProtectedTitleCache() || getEntity().isProtectedFullTitleCache());
113 114
		    setIrrelevant(toggleable_cache.getState(),
114 115
		            Arrays.asList(new Object[] { toggleable_cache, textLsid }));
115 116
		}

Also available in: Unified diff