Project

General

Profile

Revision 0741ea53

ID0741ea531d8b043fcffd20af592a6daa27f2237b
Parent eaff1338
Child b9a45989

Added by Patrick Plitzner about 3 years ago

fix potential NPE

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/concept/e4/ConceptViewPartE4.java
90 90
		}
91 91
		else if(partObject instanceof TaxonNameEditorE4){
92 92
		    IEditorInput input = ((TaxonNameEditorE4) partObject).getEditorInput();
93
		    showViewer(new StructuredSelection(input), activePart, viewer);
93
		    if(input!=null){
94
		        showViewer(new StructuredSelection(input), activePart, viewer);
95
		    }
94 96
		}
95 97
		else {
96 98
		    showEmptyPage();

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)