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:
parent
3c6d66259a
commit
503a393e4e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue