From 3f38fe4b28e18a87756908e22e01efea27f3ec31 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 29 Apr 2017 19:28:12 +0100 Subject: [PATCH] WinGui: Change to the queue duplicate detection. It currently filters by "Waiting" tasks. This now extends that to "In Progress". "Completed/Error" will continue to allow jobs to be added to the queue. Fixes #695 --- win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs b/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs index f7e38d5e0..c19558b47 100644 --- a/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs +++ b/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs @@ -269,8 +269,7 @@ namespace HandBrakeWPF.Services.Queue if (string.Equals( job.Task.Destination, destination.Replace("\\\\", "\\"), - StringComparison.OrdinalIgnoreCase) - && job.Status == QueueItemStatus.Waiting) + StringComparison.OrdinalIgnoreCase)) { return true; } -- 2.40.0