Fixed: in some circumstances, table views binded with the content binding were not correctly reloading the data.

Test: AppKit/WithOrWithoutbinding
This commit is contained in:
cacaodev
2013-04-12 19:23:51 +02:00
parent 06391c9de6
commit 87acd9d7ee
+2 -2
View File
@@ -5357,10 +5357,10 @@ Your delegate can implement this method to avoid subclassing the tableview to ad
- (void)bind:(CPString)aBinding toObject:(id)anObject withKeyPath:(CPString)aKeyPath options:(CPDictionary)options
{
[super bind:aBinding toObject:anObject withKeyPath:aKeyPath options:options];
if (aBinding == @"content")
_contentBindingExpicitelySet = YES;
[super bind:aBinding toObject:anObject withKeyPath:aKeyPath options:options];
}
@end