From 87acd9d7ee93fc7dbfa1dca1c4a00cfea7c65eb3 Mon Sep 17 00:00:00 2001 From: cacaodev Date: Fri, 12 Apr 2013 19:23:51 +0200 Subject: [PATCH] Fixed: in some circumstances, table views binded with the content binding were not correctly reloading the data. Test: AppKit/WithOrWithoutbinding --- AppKit/CPTableView.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j index 786ee3b21..e4df1797a 100644 --- a/AppKit/CPTableView.j +++ b/AppKit/CPTableView.j @@ -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