Fixed table row drag view when using bindings.

This commit is contained in:
Alexander Ljungberg committed 2010-05-26 20:02:12 -04:00
1 parent f2bb27dc32
commit 47e890b8e1
1 file changed
+3
+3
View File
@@ -1980,6 +1980,9 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5;
[dataView setFrame:[self frameOfDataViewAtColumn:columnIndex row:row]];
[dataView setObjectValue:[self _objectValueForTableColumn:tableColumn row:row]];
// If the column uses content bindings, allow them to override the objectValueForTableColumn.
[tableColumn prepareDataView:dataView forRow:row];
[view addSubview:dataView];
row = [theDraggedRows indexGreaterThanIndex:row];