Revision 5ba8876f
Added by Katja Luther about 4 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/TaxonNameEditorE4.java | ||
---|---|---|
745 | 745 |
@Optional |
746 | 746 |
private void updateView(@UIEventTopic(WorkbenchEventConstants.REFRESH_NAME_EDITOR)CdmBase cdmbase){ |
747 | 747 |
|
748 |
if ((EventUtility.getTaxonEditor() != null &&EventUtility.getTaxonEditor().equals(this)) || (this.taxon != null && this.taxon.equals(cdmbase)) || (this.taxon != null && this.taxon.getName().equals(cdmbase))){
|
|
748 |
if ((EventUtility.getTaxonEditor() != null && EventUtility.getTaxonEditor().equals(this)) || (this.taxon != null && (this.taxon.equals(cdmbase) || (this.taxon.getName() != null && this.taxon.getName().equals(cdmbase))))){
|
|
749 | 749 |
this.redraw(false, true, true, true); |
750 | 750 |
this.setDirty(); |
751 | 751 |
if (cdmbase instanceof TaxonBase){ |
Also available in: Unified diff
ref #7668: add null check for name