1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-07 08:15:48 +02:00

a little check preventing Widget is disposed exception

This commit is contained in:
Alena Laskavaia 2010-08-12 18:58:07 +00:00
parent 8311576fa8
commit f0599555d3

View file

@ -192,7 +192,7 @@ public class AbstractAnnotationHover extends AbstractCEditorTextHover {
@Override
public void setFocus() {
super.setFocus();
if (fFocusControl != null)
if (fFocusControl != null && !fFocusControl.isDisposed())
fFocusControl.setFocus();
}