#253: do not park if all articles failed

This commit is contained in:
Andrey Prygunkov
2016-08-06 21:28:07 +02:00
parent 4f9dbdadc3
commit b4fc57977b

View File

@@ -778,7 +778,7 @@ bool QueueEditor::EditGroup(NzbInfo* nzbInfo, DownloadQueue::EEditAction action,
nzbInfo->SetParking(action == DownloadQueue::eaGroupParkDelete &&
g_Options->GetKeepHistory() > 0 &&
!nzbInfo->GetUnpackCleanedUpDisk() &&
(nzbInfo->GetCurrentSuccessArticles() > 0 || nzbInfo->GetCurrentFailedArticles() > 0));
nzbInfo->GetCurrentSuccessArticles() > 0);
nzbInfo->SetAvoidHistory(action == DownloadQueue::eaGroupFinalDelete);
nzbInfo->SetDeletePaused(allPaused);
if (action == DownloadQueue::eaGroupDupeDelete)