make newly finished download actually wait in queue
This commit is contained in:
parent
3ce2dcb052
commit
b4506653ec
|
@ -1302,6 +1302,12 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
||||||
if (![fWindow isKeyWindow])
|
if (![fWindow isKeyWindow])
|
||||||
fCompleted++;
|
fCompleted++;
|
||||||
|
|
||||||
|
if ([fDefaults boolForKey: @"QueueSeed"])
|
||||||
|
{
|
||||||
|
[torrent stopTransfer];
|
||||||
|
[torrent setWaitToStart: YES];
|
||||||
|
}
|
||||||
|
|
||||||
[self updateTorrentsInQueue];
|
[self updateTorrentsInQueue];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue