Ticket #5427: 002-resume-queued.patch

File 002-resume-queued.patch, 446 bytes (added by rb07, 10 years ago)
  • libtransmission/resume.c

     
    778778  if ((fieldsToLoad & TR_FR_RUN)
    779779      && tr_variantDictFindBool (&top, TR_KEY_paused, &boolVal))
    780780    {
    781       tor->isRunning = !boolVal;
     781      tor->isRunning = !boolVal && !tor->isQueued;
    782782      fieldsLoaded |= TR_FR_RUN;
    783783    }
    784784