Source view popup does not dispose when focus out.
Remove that call removeFilter(SWT.FocusOut) when dispose the popup
Change-Id: If8919f4cc9cbbd7a416f407d4af10a5824919476
@Override
public void handleEvent(Event event) {
disposeTooltip();
- display.removeFilter(SWT.FocusOut, this);
}
});
display.addFilter(SWT.MouseDown, new Listener() {
@Override
public void handleEvent(Event event) {
disposeTooltip();
- display.removeFilter(SWT.MouseDown, this);
}
});
tooltip = new Shell(shell, SWT.ON_TOP | SWT.NO_FOCUS | SWT.TOOL);