From: lempinen Date: Thu, 20 Dec 2012 11:53:04 +0000 (+0000) Subject: Fixed save in DelayExpression. Simple copy&paste error. (fixes #3904) X-Git-Tag: simantics-1.10.1~87 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=2694d8e9467c4edbcc7d22bb9e59754e33b9f889;p=simantics%2Fsysdyn.git Fixed save in DelayExpression. Simple copy&paste error. (fixes #3904) git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26530 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/widgets/expressions/DelayExpression.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/widgets/expressions/DelayExpression.java index ce8cdb81..d672ec4a 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/widgets/expressions/DelayExpression.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/widgets/expressions/DelayExpression.java @@ -251,7 +251,7 @@ public class DelayExpression implements IExpression { // final Resource variable = g.getSingleObject(ownerList, sr.Variable_expressions_Inverse); final Resource variable = g.getPossibleObject(expression, l0.PartOf); - Resource ownerList = g.getPossibleObject(expression, sr.Variable_expressionList); + Resource ownerList = g.getPossibleObject(variable, sr.Variable_expressionList); // OrderedSetUtils.replace(g, ownerList, expression, newExpression); ListUtils.replace(g, ownerList, expression, newExpression); g.deny(expression, l0.PartOf);