Commit eb380820 authored by Vivek Nigam's avatar Vivek Nigam
Browse files

Missing check led to an attempt to construct a disposed GUI.

refs 3230
parent 5c406f8e
......@@ -7,4 +7,4 @@ RequirementVVDashboard.java b99428a26586b3af021abe7bc953dd9b09fc8d47 GREEN
RequirementVVDashboardBinding.java 275b00aba4e93440418ccaeea3041e0390dd0c01 GREEN
StateAutomatonVVDashboard.java ba094188ba8677e03884cbf81e6904da33835b47 GREEN
StateAutomatonVVDashboardEditorBinding.java a1996b84336eb5dcf04ec52161a8955a5c03196c GREEN
VVDashboardBase.java bef17afe2cea9ff7d11ebe1cc5bddb6642bf920c YELLOW
VVDashboardBase.java e30d15ca6a51cd1348e13c9f6689c9175d97d5ab YELLOW
......@@ -184,7 +184,7 @@ public abstract class VVDashboardBase<T extends EObject> extends FormsEditorBase
* according to the status of <code>c</code>.
*/
private void prepareStatus(Label status, Button b, Composite globalComp, ConstraintInstance c) {
if(c != null && globalComp.getDisplay() != null) {
if(c != null && !globalComp.isDisposed()) {
globalComp.setVisible(true);
status.setText(ConstraintsUIUtils.getText(c));
status.setForeground(ConstraintsUIUtils.getColor(c));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment