1
0
Fork 0
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:
Alena Laskavaia 2016-01-07 13:21:53 -05:00 committed by Gerrit Code Review @ Eclipse.org
parent 83ecb792db
commit e9db9389f2

View file

@ -491,6 +491,7 @@ public abstract class CSelector extends Composite {
PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
@Override
public void run() {
if (isDisposed()) return;
update(selection); // update current selection - name or icon
// may have changed
if (popup != null && !popup.isDisposed()) {