diff --git a/macosx/TorrentTableView.m b/macosx/TorrentTableView.m index 474c25e11..7750b0ec4 100644 --- a/macosx/TorrentTableView.m +++ b/macosx/TorrentTableView.m @@ -201,8 +201,10 @@ - (NSString *) outlineView: (NSOutlineView *) outlineView typeSelectStringForTableColumn: (NSTableColumn *) tableColumn item: (id) item { - return [item isKindOfClass: [Torrent class]] ? [(Torrent *)item name] - : [[self preparedCellAtColumn: [self columnWithIdentifier: @"Group"] row: [self rowForItem: item]] stringValue]; + if ([item isKindOfClass: [Torrent class]]) + return [(Torrent *)item name]; + else + return [[self dataSource] outlineView:outlineView objectValueForTableColumn:[self tableColumnWithIdentifier:@"Group"] byItem:item]; } - (NSString *) outlineView: (NSOutlineView *) outlineView toolTipForCell: (NSCell *) cell rect: (NSRectPointer) rect tableColumn: (NSTableColumn *) column item: (id) item mouseLocation: (NSPoint) mouseLocation