From 773d276fb5c0e719de49ec2ca2bc4c62108378f1 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Sun, 21 Jul 2013 14:58:24 +0000 Subject: [PATCH] (trunk, libT) #5427 'queued torrents' state changes to paused when restarting transmission' -- fixed with patch by rb07 --- libtransmission/resume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/resume.c b/libtransmission/resume.c index 142a68bae..de3aef22d 100644 --- a/libtransmission/resume.c +++ b/libtransmission/resume.c @@ -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; }