Don’t create old or new values in KVO change dictionary when doing bindings

This commit is contained in:
Martin Carlberg committed 2014-10-09 19:25:56 +02:00
1 parent 608480c1d2
commit 5e0e61b7e5
1 file changed
+1 -1
+1 -1
View File
@@ -156,7 +156,7 @@ var CPBindingOperationAnd = 0,
[self _updatePlaceholdersWithOptions:options forBinding:aName];
[aDestination addObserver:self forKeyPath:aKeyPath options:CPKeyValueObservingOptionNew context:aBinding];
[aDestination addObserver:self forKeyPath:aKeyPath options:0 context:aBinding];
var bindings = [bindingsMap objectForKey:[_source UID]];