disable the priority item for completed files

This commit is contained in:
Mitchell Livingston 2007-06-21 23:45:41 +00:00
parent 153841a68c
commit 280aa01f4e
1 changed files with 2 additions and 0 deletions

View File

@ -890,6 +890,8 @@
[(NSSegmentedCell *)cell setSelected: [torrent hasFilePriority: PRIORITY_LOW forIndexes: indexeSet] forSegment: 0];
[(NSSegmentedCell *)cell setSelected: [torrent hasFilePriority: PRIORITY_NORMAL forIndexes: indexeSet] forSegment: 1];
[(NSSegmentedCell *)cell setSelected: [torrent hasFilePriority: PRIORITY_HIGH forIndexes: indexeSet] forSegment: 2];
[cell setEnabled: [[fTorrents objectAtIndex: 0] canChangeDownloadCheckForFiles: [item objectForKey: @"Indexes"]]];
}
else;
}