1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

fix type-select with groups

This commit is contained in:
Mitchell Livingston 2008-02-19 05:27:15 +00:00
parent a28583b50b
commit d9f8018c49

View file

@ -207,7 +207,7 @@
- (NSString *) outlineView: (NSOutlineView *) outlineView typeSelectStringForTableColumn: (NSTableColumn *) tableColumn item: (id) item - (NSString *) outlineView: (NSOutlineView *) outlineView typeSelectStringForTableColumn: (NSTableColumn *) tableColumn item: (id) item
{ {
return [item isKindOfClass: [Torrent class]] ? [item name] return [item isKindOfClass: [Torrent class]] ? [item name]
: [[self preparedCellAtColumn: -1 row: [self rowForItem: item]] stringValue]; : [[self preparedCellAtColumn: [self columnWithIdentifier: @"Group"] row: [self rowForItem: item]] stringValue];
} }
- (void) updateTrackingAreas - (void) updateTrackingAreas