Project

General

Profile

« Previous | Next » 

Revision 587cdbe5

Added by Patrick Plitzner almost 6 years ago

Fix potential NPE and endless loop

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/container/AbstractGroupedContainerE4.java
553 553
	}
554 554

  
555 555
	public void colorSelected(int mode) {
556
		if (!control.isDisposed()) {
556
		if (control!=null && !control.isDisposed()) {
557 557
			String colorString = null;
558 558

  
559 559
			switch (mode) {

Also available in: Unified diff