Project

General

Profile

Revision b3531195

IDb3531195a8cc9134cdfa81587d8fd73fcccb2aba
Parent 7a22ac0a
Child b9d3a4d8

Added by Patrick Plitzner over 6 years ago

  • fixed potential NPE

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/OriginalLabelDataController.java
66 66
     */
67 67
    @Override
68 68
    protected void createControls(ICdmFormElement formElement, DerivedUnitFacade entity, int style) {
69
        originalLabelDataElement.getText().setText(entity.getTitleCache());
69
        String originalLabelInfo = entity.innerDerivedUnit().getOriginalLabelInfo();
70
        if(originalLabelInfo!=null){
71
            originalLabelDataElement.getText().setText(originalLabelInfo);
72
        }
70 73
    }
71 74

  
72 75
    /* (non-Javadoc)

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)