From: jsimomaa Date: Fri, 22 Aug 2014 08:12:34 +0000 (+0000) Subject: refs #5208 X-Git-Tag: v1.29.0~220 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=741f361be76281bfe4d409392704ca332bf92a52;p=simantics%2Fsysdyn.git refs #5208 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@30118 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EquationTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EquationTab.java index 4d45a5cb..4072c806 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EquationTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EquationTab.java @@ -504,6 +504,7 @@ public class EquationTab extends AdjustableTab implements Widget { } else { // If there was no active expression, create a normal expression graph.claim(newExpression, l0.InstanceOf, sr.NormalExpression); + graph.claimLiteral(newExpression, sr.Expression_equation, ""); Layer0Utils.addCommentMetadata(graph, "Created new Normal Expression " + newExpression + " for " + graph.getPossibleRelatedValue2(input, Layer0.getInstance(graph).HasName, Bindings.STRING)); } ArrayList addition = new ArrayList(1);