1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 17:47:37 +00:00
This commit is contained in:
Mitchell Livingston 2009-10-16 23:05:29 +00:00
parent 22354eb622
commit 8eb56a89d6

View file

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