mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
disable the priority item for completed files
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user