Issue #2833 - fixed a widget disposed error.

Former-commit-id: 0af9cf1a89 [formerly 3c85140ba0] [formerly f38afb0976] [formerly f38afb0976 [formerly e71dad9c80]] [formerly 980e21ca5a [formerly f38afb0976 [formerly e71dad9c80] [formerly 980e21ca5a [formerly eb3cf0ade9203766a437512b85e55f32108db1e3]]]]
Former-commit-id: 980e21ca5a
Former-commit-id: 9afe403f14a70fab79d319d1f13e08424023fde5 [formerly 992ef4747311d55c577dcc1e3ae1650fbf7416ad] [formerly 3966bc355c [formerly 98daa663b4]]
Former-commit-id: 3966bc355c
Former-commit-id: 8cd4bc1705
This commit is contained in:
Lee Venable 2014-03-05 08:37:13 -06:00
parent 33a9b45852
commit 3282c01496

View file

@ -145,6 +145,7 @@ import com.raytheon.viz.ui.presenter.IDisplay;
* Feb 11, 2014 2771 bgonzale Use Data Delivery ID instead of Site.
* Feb 26, 2014 #2833 lvenable Added code to prevent the Subset (this) dialog from
* disappearing when the Subscription button is double clicked.
* Added dispose check for subscription button.
* </pre>
*
* @author mpduff
@ -449,8 +450,10 @@ public abstract class SubsetManagerDlg extends CaveSWTDialog implements
launchCreateSubscriptionGui(subscription);
}
// Enable the button.
subscribeBtn.setEnabled(true);
// Enable the subscription button if it is not disposed.
if (subscribeBtn.isDisposed() == false) {
subscribeBtn.setEnabled(true);
}
}
});