1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

ensure correct object value is given to the table on Tiger

This commit is contained in:
Mitchell Livingston 2008-02-19 11:36:25 +00:00
parent a676675468
commit 8896efb400

View file

@ -2476,7 +2476,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
- (id) outlineView: (NSOutlineView *) outlineView objectValueForTableColumn: (NSTableColumn *) tableColumn byItem: (id) item - (id) outlineView: (NSOutlineView *) outlineView objectValueForTableColumn: (NSTableColumn *) tableColumn byItem: (id) item
{ {
if (tableColumn) if (![item isKindOfClass: [Torrent class]])
{ {
NSString * ident = [tableColumn identifier]; NSString * ident = [tableColumn identifier];
if ([ident isEqualToString: @"Group"]) if ([ident isEqualToString: @"Group"])