]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Fixed save in DelayExpression. Simple copy&paste error. (fixes #3904)
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Thu, 20 Dec 2012 11:53:04 +0000 (11:53 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Thu, 20 Dec 2012 11:53:04 +0000 (11:53 +0000)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26530 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/widgets/expressions/DelayExpression.java

index ce8cdb81b000de98800b1ba6ed8a5b038f87d4af..d672ec4a89e1f90bdc58b51acfadb86c0f2009e4 100644 (file)
@@ -251,7 +251,7 @@ public class DelayExpression implements IExpression {
 \r
 //                        final Resource variable = g.getSingleObject(ownerList, sr.Variable_expressions_Inverse);\r
                         final Resource variable = g.getPossibleObject(expression, l0.PartOf);\r
-                        Resource ownerList = g.getPossibleObject(expression, sr.Variable_expressionList);\r
+                        Resource ownerList = g.getPossibleObject(variable, sr.Variable_expressionList);\r
 //                        OrderedSetUtils.replace(g, ownerList, expression, newExpression);\r
                         ListUtils.replace(g, ownerList, expression, newExpression);\r
                         g.deny(expression, l0.PartOf);\r