mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
(trunk, libT) #5427 'queued torrents' state changes to paused when restarting transmission' -- fixed with patch by rb07
This commit is contained in:
parent
73d4be24c7
commit
773d276fb5
1 changed files with 1 additions and 1 deletions
|
@ -778,7 +778,7 @@ loadFromFile (tr_torrent * tor, uint64_t fieldsToLoad)
|
||||||
if ((fieldsToLoad & TR_FR_RUN)
|
if ((fieldsToLoad & TR_FR_RUN)
|
||||||
&& tr_variantDictFindBool (&top, TR_KEY_paused, &boolVal))
|
&& tr_variantDictFindBool (&top, TR_KEY_paused, &boolVal))
|
||||||
{
|
{
|
||||||
tor->isRunning = !boolVal;
|
tor->isRunning = !boolVal && !tor->isQueued;
|
||||||
fieldsLoaded |= TR_FR_RUN;
|
fieldsLoaded |= TR_FR_RUN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue