make newly finished download actually wait in queue

This commit is contained in:
Mitchell Livingston 2007-01-24 03:15:27 +00:00
parent 3ce2dcb052
commit b4506653ec
1 changed files with 6 additions and 0 deletions

View File

@ -1302,6 +1302,12 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
if (![fWindow isKeyWindow])
fCompleted++;
if ([fDefaults boolForKey: @"QueueSeed"])
{
[torrent stopTransfer];
[torrent setWaitToStart: YES];
}
[self updateTorrentsInQueue];
}