fix type selection
This commit is contained in:
parent
7837afd042
commit
c0463820f7
|
@ -26,7 +26,7 @@
|
||||||
#import <transmission.h>
|
#import <transmission.h>
|
||||||
#import <Controller.h>
|
#import <Controller.h>
|
||||||
|
|
||||||
#define GROUP_SEPARATOR_HEIGHT 20.0
|
#define GROUP_SEPARATOR_HEIGHT 18.0
|
||||||
|
|
||||||
@class TorrentCell;
|
@class TorrentCell;
|
||||||
|
|
||||||
|
|
|
@ -130,7 +130,8 @@
|
||||||
|
|
||||||
- (NSString *) tableView: (NSTableView *) tableView typeSelectStringForTableColumn: (NSTableColumn *) tableColumn row: (int) row
|
- (NSString *) tableView: (NSTableView *) tableView typeSelectStringForTableColumn: (NSTableColumn *) tableColumn row: (int) row
|
||||||
{
|
{
|
||||||
return [[fTorrents objectAtIndex: row] name];
|
id object = [fTorrents objectAtIndex: row];
|
||||||
|
return [object isKindOfClass: [Torrent class]] ? [object name] : [[self preparedCellAtColumn: 0 row: row] stringValue];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) updateTrackingAreas
|
- (void) updateTrackingAreas
|
||||||
|
|
Loading…
Reference in New Issue