From 75d9ac88f235ba8a363947f33165b15ceca31706 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 27 Aug 2011 21:31:44 +0000 Subject: [PATCH] #4448 "Resume all" toolbar button should factor in seeding-complete transfers --- macosx/Controller.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index ab675de16..e054e6e4a 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -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; } -- 2.40.0