Issue #2833 - fixed a widget disposed error.

Former-commit-id: 0af9cf1a89 [formerly 3c85140ba0] [formerly f38afb0976] [formerly f38afb0976 [formerly e71dad9c80]] [formerly 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: 3282c01496 [formerly 8cd4bc1705] [formerly 3966bc355c] [formerly 9afe403f14a70fab79d319d1f13e08424023fde5 [formerly 992ef4747311d55c577dcc1e3ae1650fbf7416ad] [formerly 3966bc355c [formerly 98daa663b4]]]
Former-commit-id: 637dad91cd47b6a412cf6c223ade9570337e44b1 [formerly d18a297a33ea753e8022b130be13924780e330ac] [formerly 4b81954f16 [formerly 7e45b908af]]
Former-commit-id: 4b81954f16
Former-commit-id: fadccce7dc
This commit is contained in:
Lee Venable 2014-03-05 08:37:13 -06:00
parent 17e90321be
commit 47976f80f9

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);
}
}
});