diff --git a/chemclipse/plugins/org.eclipse.chemclipse.ux.extension.ui/src/org/eclipse/chemclipse/ux/extension/ui/provider/DataExplorerLabelProvider.java b/chemclipse/plugins/org.eclipse.chemclipse.ux.extension.ui/src/org/eclipse/chemclipse/ux/extension/ui/provider/DataExplorerLabelProvider.java index 170ff19362..e1d00c0d08 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.ux.extension.ui/src/org/eclipse/chemclipse/ux/extension/ui/provider/DataExplorerLabelProvider.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.ux.extension.ui/src/org/eclipse/chemclipse/ux/extension/ui/provider/DataExplorerLabelProvider.java @@ -81,7 +81,9 @@ public void update(ViewerCell cell) { Image image = getIcon(element); // https://github.com/eclipse-platform/eclipse.platform.swt/issues/678 Display.getCurrent().asyncExec(() -> { - cell.setImage(image); + if(!cell.getControl().isDisposed()) { + cell.setImage(image); + } }); cell.setBackground(getBackground(element)); cell.setForeground(getForeground(element));