Revision 960c17a3
Added by Katja Luther almost 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/DescriptionElementDetailSection.java | ||
---|---|---|
145 | 145 |
public void setEntity(DescriptionElementBase entity) { |
146 | 146 |
super.setEntity(entity); |
147 | 147 |
boolean isEnabled = true; |
148 |
if (entity.getInDescription().isComputed() && PreferencesUtil.isComputedDesciptionHandlingDisabled()){ |
|
148 |
if (entity.getInDescription().isComputed() && PreferencesUtil.isComputedDesciptionHandlingDisabled() ){
|
|
149 | 149 |
isEnabled = false; |
150 | 150 |
} |
151 | 151 |
setEnabled(isEnabled); |
152 |
this.getDetailElement().setEnabled(isEnabled); |
|
152 |
// this.getDetailElement().setEnabled(isEnabled);
|
|
153 | 153 |
|
154 | 154 |
} |
155 | 155 |
|
Also available in: Unified diff
some more enable/disable elements issues