Revision a452be91
Added by Katja Luther about 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NonViralNameDetailElement.java | ||
---|---|---|
113 | 113 |
@Override |
114 | 114 |
protected void updateContent() { |
115 | 115 |
super.updateContent(); |
116 |
|
|
117 | 116 |
// disable nomenclatural code, because changing of nom.code is not |
118 | 117 |
// implemented on library side |
119 | 118 |
if(combo_nomenclaturalCode!=null){ |
120 | 119 |
combo_nomenclaturalCode.setEnabled(false); |
121 | 120 |
} |
122 |
|
|
121 |
toggleable_cache.setEnabled(getEntity().isProtectedTitleCache() || getEntity().isProtectedFullTitleCache()); |
|
123 | 122 |
if(toggleable_cache!=null){ |
124 | 123 |
setIrrelevant(toggleable_cache.getState(), |
125 |
Arrays.asList(new Object[] { toggleable_cache })); |
|
124 |
Arrays.asList(new Object[] { toggleable_cache, textLsid }));
|
|
126 | 125 |
} |
127 | 126 |
} |
128 | 127 |
|
Also available in: Unified diff
fix #3737: improve handling of protected/not protected cache fields