1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-02 22:55:26 +02:00

launchbar: prevent widget is disposed exception

Change-Id: I5afe239ed7b594a2f7fb3be7bae4120d84c879b2
This commit is contained in:
Alena Laskavaia 2016-02-18 12:16:18 -05:00
parent 68da3d3a38
commit d87141b0f9

View file

@ -211,6 +211,8 @@ public class ModeSelector extends CSelector {
public void setSelection(Object element) {
if (element == null)
element = noModes[0];
if (isDisposed())
return;
super.setSelection(element);
updateLaunchButton(findLaunchButton());
}