mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-10 18:45:26 +02:00
launchbar: fixed widget is disposed exception
Change-Id: I8c39e7bc55e88b8b93f6d445b9b94face7f4d1f1 Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
This commit is contained in:
parent
83ecb792db
commit
e9db9389f2
1 changed files with 1 additions and 0 deletions
|
@ -491,6 +491,7 @@ public abstract class CSelector extends Composite {
|
||||||
PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
|
PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
if (isDisposed()) return;
|
||||||
update(selection); // update current selection - name or icon
|
update(selection); // update current selection - name or icon
|
||||||
// may have changed
|
// may have changed
|
||||||
if (popup != null && !popup.isDisposed()) {
|
if (popup != null && !popup.isDisposed()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue