#4448 "Resume all" toolbar button should factor in seeding-complete transfers

This commit is contained in:
Mitchell Livingston 2011-08-27 21:31:44 +00:00
parent fbaab34ec6
commit 75d9ac88f2
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}