Changeset 2335 for trunk/macosx/FileOutlineView.m
- Timestamp:
- Jul 13, 2007, 2:57:20 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/FileOutlineView.m
r2318 r2335 106 106 Torrent * torrent = [(InfoWindowController *)[[self window] windowController] selectedTorrent]; 107 107 108 if ([[item objectForKey: @"IsFolder"] boolValue]109 || ![torrent canChangeDownloadCheckForFiles: [item objectForKey: @"Indexes"]])108 NSIndexSet * indexSet = [item objectForKey: @"Indexes"]; 109 if ([[item objectForKey: @"IsFolder"] boolValue] || ![torrent canChangeDownloadCheckForFiles: indexSet]) 110 110 [fNormalColor set]; 111 111 else 112 112 { 113 NSIndexSet * indexSet = [item objectForKey: @"Indexes"];114 113 if ([torrent hasFilePriority: TR_PRI_HIGH forIndexes: indexSet]) 115 114 [fHighPriorityColor set];
Note: See TracChangeset
for help on using the changeset viewer.