Small fix in KVB to allow binding to a key path

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26384 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
xgl 2008-03-28 18:50:52 +00:00
parent 3e7b3858e5
commit f3b74bed2f
2 changed files with 7 additions and 1 deletions

View file

@ -342,7 +342,7 @@ void GSBindingInvokeAction(NSString *targetKey, NSString *argumentKey,
newValue = [src valueForKeyPath: binding];
newValue = [self reverseTransformValue: newValue withOptions: options];
[dest setValue: newValue forKey: keyPath];
[dest setValue: newValue forKeyPath: keyPath];
}
- (void) observeValueForKeyPath: (NSString *)keyPath