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

LaunchBar: prevent widget is disposed exception on shutdown

Change-Id: I79afcded38a64a9c2f2ce0190eee1766a9d4265e
This commit is contained in:
Alena Laskavaia 2015-01-20 15:45:14 -05:00
parent faf222b8f2
commit 3487f9e9e2

View file

@ -268,6 +268,8 @@ public abstract class CSelector extends Composite {
}
public void setSelection(Object element) {
if (isDisposed())
return;
this.selection = element;
if (buttonComposite != null)
buttonComposite.dispose();