aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/IML/Context.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-12-24 00:05:37 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-12-24 00:05:37 +0100
commit9ecf0d3e8a339d3ea897942a19c7799362169efd (patch)
treeec1e783b3ba8d10403334663d2abc1e552fe79c3 /src/IML/Context.cs
parent504c0bcf328f0e926112a4f21e22c218064cc300 (diff)
enable two way binding, reverser binding for datasource
Diffstat (limited to 'src/IML/Context.cs')
-rw-r--r--src/IML/Context.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IML/Context.cs b/src/IML/Context.cs
index de5f480c..e08eea1f 100644
--- a/src/IML/Context.cs
+++ b/src/IML/Context.cs
@@ -92,8 +92,8 @@ namespace Crow.IML
return;
}
StorePropertyBinding (bindDef.TargetNA, bindDef.TargetMember, bindDef.SourceNA, bindDef.SourceMember);
-// if (bindDef.TwoWay)
-// StorePropertyBinding (bindDef.SourceNA, bindDef.SourceMember, bindDef.TargetNA, bindDef.TargetMember);
+ if (bindDef.TwoWay)
+ StorePropertyBinding (bindDef.SourceNA, bindDef.SourceMember, bindDef.TargetNA, bindDef.TargetMember);
}
public void StoreCurrentName(string name){
if (!Names.ContainsKey(name))