mirror of
https://github.com/transmission/transmission.git
synced 2025-12-25 04:45:56 +00:00
For now the next to auto-start will be the earliest added transfer that is waiting
This commit is contained in:
@@ -970,7 +970,9 @@ static void sleepCallBack(void * controller, io_service_t y,
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!torrentToStart && [torrent waitingToStart])
|
||||
//use as next if it is waiting to start and either no previous is or the previous has later date
|
||||
if ([torrent waitingToStart] && (!torrentToStart
|
||||
|| [[torrentToStart date] compare: [torrent date]] == NSOrderedDescending))
|
||||
torrentToStart = torrent;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user