]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
refs #5208
authorjsimomaa <jsimomaa@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 22 Aug 2014 08:12:34 +0000 (08:12 +0000)
committerjsimomaa <jsimomaa@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 22 Aug 2014 08:12:34 +0000 (08:12 +0000)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@30118 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EquationTab.java

index 4d45a5cbad577d80891f6d51d3b3f8b674d1c4ba..4072c806ab87e332bfc7b4d5555bafe40bd2314d 100644 (file)
@@ -504,6 +504,7 @@ public class EquationTab extends AdjustableTab implements Widget {
                                } else {\r
                                    // If there was no active expression, create a normal expression\r
                                        graph.claim(newExpression, l0.InstanceOf, sr.NormalExpression);\r
+                                       graph.claimLiteral(newExpression, sr.Expression_equation, "");\r
                                        Layer0Utils.addCommentMetadata(graph, "Created new Normal Expression " + newExpression + " for " + graph.getPossibleRelatedValue2(input, Layer0.getInstance(graph).HasName, Bindings.STRING));\r
                                }\r
                                ArrayList<Resource> addition = new ArrayList<Resource>(1);\r