summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-12-07 13:54:38 +0100
committerDamiano Galassi <[email protected]>2017-12-07 13:54:38 +0100
commitfe3d9bb8aa9ea155dccfe07bedc51e976dae39d1 (patch)
treeb80b4658d6ad02aed0c73056f48529c2ae804491 /macosx
parent725df609ef093a256fa589965b378a335ae3b110 (diff)
MacGui: when reloading a job from the queue, reset the job state to HBJobStateReady, so that if the user undo the action the job won't be stuck in the working state.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBQueueController.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m
index c54f707b7..74b3ffd5d 100644
--- a/macosx/HBQueueController.m
+++ b/macosx/HBQueueController.m
@@ -1295,6 +1295,7 @@
{
// Now that source is loaded and settings applied, delete the queue item from the queue
NSInteger index = [self.jobs indexOfObject:job];
+ job.state = HBJobStateReady;
[self removeQueueItemAtIndex:index];
}
else