mirror of
https://github.com/transmission/transmission
synced 2025-03-10 06:02:57 +00:00
make newly finished download actually wait in queue
This commit is contained in:
parent
3ce2dcb052
commit
b4506653ec
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue