From 741f361be76281bfe4d409392704ca332bf92a52 Mon Sep 17 00:00:00 2001 From: jsimomaa Date: Fri, 22 Aug 2014 08:12:34 +0000 Subject: [PATCH] refs #5208 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@30118 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../src/org/simantics/sysdyn/ui/properties/EquationTab.java | 1 + 1 file changed, 1 insertion(+) 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); -- 2.47.1