diff options
author | Damiano Galassi <[email protected]> | 2017-12-07 13:54:38 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2017-12-07 13:54:38 +0100 |
commit | fe3d9bb8aa9ea155dccfe07bedc51e976dae39d1 (patch) | |
tree | b80b4658d6ad02aed0c73056f48529c2ae804491 /macosx | |
parent | 725df609ef093a256fa589965b378a335ae3b110 (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.m | 1 |
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 |