mirror of
https://github.com/transmission/transmission
synced 2025-02-20 21:26:53 +00:00
#4448 "Resume all" toolbar button should factor in seeding-complete transfers
This commit is contained in:
parent
fbaab34ec6
commit
75d9ac88f2
1 changed files with 2 additions and 2 deletions
|
@ -3429,7 +3429,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
|||
if ([ident isEqualToString: TOOLBAR_RESUME_ALL])
|
||||
{
|
||||
for (Torrent * torrent in fTorrents)
|
||||
if (![torrent isActive] && ![torrent waitingToStart])
|
||||
if (![torrent isActive] && ![torrent waitingToStart] && ![torrent isFinishedSeeding])
|
||||
return YES;
|
||||
return NO;
|
||||
}
|
||||
|
@ -3729,7 +3729,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
|||
return NO;
|
||||
|
||||
for (Torrent * torrent in fTorrents)
|
||||
if (![torrent isActive] && [torrent waitingToStart])
|
||||
if ([torrent waitingToStart])
|
||||
return YES;
|
||||
return NO;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue