Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPauline DEVILLE2021-07-06 14:39:45 +0000
committerPatrick Tessier2021-07-08 07:48:21 +0000
commita85c8b618b5d62e4dc534b561dbe1c6b374143ee (patch)
tree9aa27bd8c63a40f409d0734ce5fc04389b098490 /plugins/infra
parent7aed6d6923ee426b474f1d48bcb01ad3862a1bf5 (diff)
downloadorg.eclipse.papyrus-a85c8b618b5d62e4dc534b561dbe1c6b374143ee.tar.gz
org.eclipse.papyrus-a85c8b618b5d62e4dc534b561dbe1c6b374143ee.tar.xz
org.eclipse.papyrus-a85c8b618b5d62e4dc534b561dbe1c6b374143ee.zip
Bug 574688 - [Properties] Widget is disposed exception when update
ReferenceDialog Change-Id: Ieb71b3cc622f255c2a0605e03f7f2c26ad835730 Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
Diffstat (limited to 'plugins/infra')
-rw-r--r--plugins/infra/ui/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/databinding/ReferenceDialogObservableValue.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/infra/ui/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/databinding/ReferenceDialogObservableValue.java b/plugins/infra/ui/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/databinding/ReferenceDialogObservableValue.java
index ffbdb1fc66c..7b3b550a04b 100644
--- a/plugins/infra/ui/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/databinding/ReferenceDialogObservableValue.java
+++ b/plugins/infra/ui/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/databinding/ReferenceDialogObservableValue.java
@@ -59,7 +59,9 @@ public class ReferenceDialogObservableValue extends CLabelObservableValue {
@Override
protected void doSetValue(Object value) {
super.doSetValue(value);
- referenceDialog.update();
+ if (!referenceDialog.isDisposed()) {
+ referenceDialog.update();
+ }
}
}

Back to the top