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:
parent
8311576fa8
commit
f0599555d3
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue