summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-12-19 12:19:33 +0100
committerDamiano Galassi <[email protected]>2017-12-19 12:19:33 +0100
commit0b38e6d03c0297c72f0c250ae2311a9d7b521fa0 (patch)
tree4c2672e485e554c1dc6ab41b8d9adbc7bc44a396 /macosx
parent6e7a15a337ef8e6bbb3baa17b400cb1db288e562 (diff)
MacGui: make a copy of a job when sending it back to the main window.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBQueueController.m2
1 files changed, 1 insertions, 1 deletions
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)
{