1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-05 16:15:25 +02:00

launchbar - widget is disposed exception

Change-Id: I059f5f30d34ab8858fdf6ac61d513f912a56ea19
This commit is contained in:
elaskavaia 2015-11-05 15:42:17 -05:00
parent 3c6d66259a
commit 503a393e4e

View file

@ -464,10 +464,10 @@ public abstract class CSelector extends Composite {
if (buttonComposite != null) {
buttonComposite.setToolTipText(toolTipText);
}
if (currentLabel != null) {
if (currentLabel != null && !currentLabel.isDisposed()) {
currentLabel.setToolTipText(toolTipText);
}
if (currentIcon != null) {
if (currentIcon != null && !currentIcon.isDisposed()) {
currentIcon.setToolTipText(toolTipText);
}
}