This commit is contained in:
Mitchell Livingston 2009-10-16 23:05:29 +00:00
parent 22354eb622
commit 8eb56a89d6
1 changed files with 2 additions and 2 deletions

View File

@ -1781,7 +1781,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
[[NSDistributedNotificationCenter defaultCenter] postNotificationName: @"com.apple.DownloadFileFinished" [[NSDistributedNotificationCenter defaultCenter] postNotificationName: @"com.apple.DownloadFileFinished"
object: [[torrent downloadFolder] stringByAppendingPathComponent: [torrent name]]]; object: [[torrent downloadFolder] stringByAppendingPathComponent: [torrent name]]];
if ([self numToStartFromQueue: NO] == 0) if ([fDefaults boolForKey: @"Queue"] && [self numToStartFromQueue: NO] == 0)
{ {
[torrent stopTransfer]; [torrent stopTransfer];
[torrent setWaitToStart: YES]; [torrent setWaitToStart: YES];
@ -1796,7 +1796,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
Torrent * torrent = [notification object]; Torrent * torrent = [notification object];
if ([torrent isActive]) if ([torrent isActive])
{ {
if ([self numToStartFromQueue: YES] == 0) if ([fDefaults boolForKey: @"QueueSeed"] && [self numToStartFromQueue: YES] == 0)
{ {
[torrent stopTransfer]; [torrent stopTransfer];
[torrent setWaitToStart: YES]; [torrent setWaitToStart: YES];