summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-04-29 19:32:50 +0100
committersr55 <[email protected]>2017-04-29 19:32:50 +0100
commit8c5233a199f09615c0924957bc602f33f89d9533 (patch)
tree290993eb2c0e130078bba69782812564bcf53a7f /win
parent3f38fe4b28e18a87756908e22e01efea27f3ec31 (diff)
WinGui: Save file before committing :( #695
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs b/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs
index c19558b47..f0425b0c0 100644
--- a/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs
+++ b/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs
@@ -269,7 +269,7 @@ namespace HandBrakeWPF.Services.Queue
if (string.Equals(
job.Task.Destination,
destination.Replace("\\\\", "\\"),
- StringComparison.OrdinalIgnoreCase))
+ StringComparison.OrdinalIgnoreCase) && (job.Status == QueueItemStatus.Waiting || job.Status == QueueItemStatus.InProgress))
{
return true;
}