(trunk, libT) #5427 'queued torrents' state changes to paused when restarting transmission' -- fixed with patch by rb07

This commit is contained in:
Jordan Lee 2013-07-21 14:58:24 +00:00
parent 73d4be24c7
commit 773d276fb5
1 changed files with 1 additions and 1 deletions

View File

@ -778,7 +778,7 @@ loadFromFile (tr_torrent * tor, uint64_t fieldsToLoad)
if ((fieldsToLoad & TR_FR_RUN)
&& tr_variantDictFindBool (&top, TR_KEY_paused, &boolVal))
{
tor->isRunning = !boolVal;
tor->isRunning = !boolVal && !tor->isQueued;
fieldsLoaded |= TR_FR_RUN;
}