Project

General

Profile

« Previous | Next » 

Revision 3aeb8b56

Added by Patrick Plitzner about 6 years ago

Fix label issue for classification with no label

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/classification/ClassificationDetailElement.java
79 79
	@Override
80 80
	protected void createControls(ICdmFormElement formElement,
81 81
	        Classification entity, int style) {
82
	    text_treeLabel = formFactory.createTextWithLabelElement(formElement, "Label", entity != null ? entity.getTitleCache() : null, SWT.NULL);
82
	    text_treeLabel = formFactory.createTextWithLabelElement(formElement, "Label", entity != null ? entity.getName().getText() : null, SWT.NULL);
83 83
	    selection_reference = formFactory.createSelectionElement(Reference.class, getConversationHolder(), formElement, "Reference",
84 84
	            entity != null ? entity.getReference() : null, EntitySelectionElement.ALL, SWT.NULL);
85 85
	    text_microReference = formFactory.createTextWithLabelElement(formElement, "Reference Detail",

Also available in: Unified diff