From 0b38e6d03c0297c72f0c250ae2311a9d7b521fa0 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Tue, 19 Dec 2017 12:19:33 +0100 Subject: MacGui: make a copy of a job when sending it back to the main window. --- macosx/HBQueueController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macosx') diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m index a57e0fbaa..f3432da68 100644 --- a/macosx/HBQueueController.m +++ b/macosx/HBQueueController.m @@ -1322,7 +1322,7 @@ if (job != self.currentJob) { job.state = HBJobStateWorking; - [self.controller openJob:job completionHandler:^(BOOL result) { + [self.controller openJob:[job copy] completionHandler:^(BOOL result) { [self.jobs beginTransaction]; if (result) { -- cgit v1.2.3