Revision 90def588
Added by Katja Luther almost 2 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/DescriptiveLabelProvider.java | ||
---|---|---|
81 | 81 |
}else if (element instanceof FeatureNodeContainer){ |
82 | 82 |
desc = ((FeatureNodeContainer)element).getDescription(); |
83 | 83 |
} |
84 |
if (desc.isComputed() && PreferencesUtil.isComputedDesciptionHandlingDisabled()){ |
|
84 |
if (desc != null && desc.isComputed() && PreferencesUtil.isComputedDesciptionHandlingDisabled()){
|
|
85 | 85 |
return Display.getCurrent().getSystemColor(SWT.COLOR_GRAY); |
86 | 86 |
} |
87 | 87 |
return null; |
Also available in: Unified diff
avoid NPE