Issue #2833 - fixed a widget disposed error.
Former-commit-id:0af9cf1a89
[formerly3c85140ba0
] [formerlyf38afb0976
] [formerlyf38afb0976
[formerlye71dad9c80
]] [formerly980e21ca5a
[formerlyf38afb0976
[formerlye71dad9c80
] [formerly980e21ca5a
[formerly eb3cf0ade9203766a437512b85e55f32108db1e3]]]] Former-commit-id:980e21ca5a
Former-commit-id: 9afe403f14a70fab79d319d1f13e08424023fde5 [formerly 992ef4747311d55c577dcc1e3ae1650fbf7416ad] [formerly3966bc355c
[formerly98daa663b4
]] Former-commit-id:3966bc355c
Former-commit-id:8cd4bc1705
This commit is contained in:
parent
33a9b45852
commit
3282c01496
1 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue