diff options
author | Damiano Galassi <[email protected]> | 2018-11-02 11:14:23 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2018-11-02 11:14:23 +0100 |
commit | 2efd759f074b9aa9d59795f7a2169c599030b94f (patch) | |
tree | b9df429d11364605f8a4e5fcc65f590245572a21 /macosx/HBQueueController.m | |
parent | 16fa5e831920dda9f442d4fd29227789b2ffd6f3 (diff) |
MacGui: change the overwrite method to check only for ready and working jobs. For completed jobs we already check if there is an actual file on disk.
Diffstat (limited to 'macosx/HBQueueController.m')
-rw-r--r-- | macosx/HBQueueController.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m index 3a0840293..83bb702f0 100644 --- a/macosx/HBQueueController.m +++ b/macosx/HBQueueController.m @@ -294,7 +294,8 @@ static void *HBControllerQueueCoreContext = &HBControllerQueueCoreContext; for (HBJob *item in self.jobs) { - if ([item.completeOutputURL isEqualTo:url]) + if ((item.state == HBJobStateReady || item.state == HBJobStateWorking) + && [item.completeOutputURL isEqualTo:url]) { return YES; } |