mirror of
https://github.com/transmission/transmission
synced 2025-03-15 16:29:34 +00:00
disable the priority item for completed files
This commit is contained in:
parent
153841a68c
commit
280aa01f4e
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue