fix missing label for feature in description element details view
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / section / description / DescriptionElementDetailSection.java
index 5b3ceb86777ec31860d5d09f83053f73e6586035..6c0148712d5891aa6c21427bb252d90a4f05b4f4 100644 (file)
@@ -109,7 +109,8 @@ public class DescriptionElementDetailSection extends
        /** {@inheritDoc} */
        @Override
        protected void setSectionTitle() {
-               this.setText(getHeading() + ": " + getEntity().getFeature().getLabel(CdmStore.getDefaultLanguage()));
+               this.setText(getHeading() + ": " + getEntity().getFeature().getPreferredRepresentation(CdmStore.getDefaultLanguage()));
+                       //getLabel(CdmStore.getDefaultLanguage()));
 
         if(IsMoreThanOneTypeSupported()){
             setTextClient(createToolbar());