mirror of
https://github.com/transmission/transmission
synced 2025-02-23 06:30:38 +00:00
use file status instead of file progress for canChangeDownloadCheckForFiles:
This commit is contained in:
parent
4311b160b5
commit
f996f0ccbe
1 changed files with 1 additions and 1 deletions
|
@ -1305,7 +1305,7 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
|
|||
|
||||
int index;
|
||||
for (index = [indexSet firstIndex]; index != NSNotFound; index = [indexSet indexGreaterThanIndex: index])
|
||||
if ([self fileProgress: index] < 1.0)
|
||||
if (tr_torrentGetFileStatus(fHandle, index) != TR_CP_COMPLETE)
|
||||
return YES;
|
||||
return NO;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue