From 2694d8e9467c4edbcc7d22bb9e59754e33b9f889 Mon Sep 17 00:00:00 2001 From: lempinen Date: Thu, 20 Dec 2012 11:53:04 +0000 Subject: [PATCH] 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 --- .../ui/properties/widgets/expressions/DelayExpression.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.1