From 35643b0207e4f77dcb3f4a77775ff00e7b9a3372 Mon Sep 17 00:00:00 2001 From: Andrey Prygunkov Date: Wed, 3 Aug 2016 19:55:07 +0200 Subject: [PATCH] fixed #253: delete-with-parking sometimes didn't park --- daemon/queue/QueueEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/queue/QueueEditor.cpp b/daemon/queue/QueueEditor.cpp index b3343c38..95d403a4 100644 --- a/daemon/queue/QueueEditor.cpp +++ b/daemon/queue/QueueEditor.cpp @@ -778,7 +778,7 @@ bool QueueEditor::EditGroup(NzbInfo* nzbInfo, DownloadQueue::EEditAction action, nzbInfo->SetParking(action == DownloadQueue::eaGroupParkDelete && g_Options->GetKeepHistory() > 0 && !nzbInfo->GetUnpackCleanedUpDisk() && - (nzbInfo->GetSuccessArticles() > 0 || nzbInfo->GetFailedArticles() > 0)); + (nzbInfo->GetCurrentSuccessArticles() > 0 || nzbInfo->GetCurrentFailedArticles() > 0)); nzbInfo->SetAvoidHistory(action == DownloadQueue::eaGroupFinalDelete); nzbInfo->SetDeletePaused(allPaused); if (action == DownloadQueue::eaGroupDupeDelete)