diff options
author | sr55 <[email protected]> | 2017-04-29 19:28:12 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2017-04-29 19:28:12 +0100 |
commit | 3f38fe4b28e18a87756908e22e01efea27f3ec31 (patch) | |
tree | de96d19ae047dd44ac20ed71dfa577d62671a3a6 /win | |
parent | ca348fe19a0c4bacb005c42840576b60ff636651 (diff) |
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
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs | 3 |
1 files changed, 1 insertions, 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;
}
|