From 2efd759f074b9aa9d59795f7a2169c599030b94f Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Fri, 2 Nov 2018 11:14:23 +0100 Subject: [PATCH] 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. --- macosx/HBQueueController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.40.0