Revision 587cdbe5
Added by Patrick Plitzner over 5 years ago
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
Fix potential NPE and endless loop