diff options
author | ritsuka <[email protected]> | 2015-02-23 07:40:50 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-02-23 07:40:50 +0000 |
commit | 7b0f081409e324a581140d8886a32cf3bf00024a (patch) | |
tree | 3c67ed2e9e9376066f3e82850e67a905306d66f3 /macosx | |
parent | ae9594298196c8412e49966256ae45eb3584ce27 (diff) |
MacGui: fix queue drag&drop when there is not job being encoded.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6938 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBQueueController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m index 0963a453e..f3ec9fcf6 100644 --- a/macosx/HBQueueController.m +++ b/macosx/HBQueueController.m @@ -1382,7 +1382,7 @@ // We do not let the user drop a pending job before or *above* // already finished or currently encoding jobs. NSInteger encodingIndex = [self.jobs indexOfObject:self.currentJob]; - if (index <= encodingIndex) + if (encodingIndex != NSNotFound && index <= encodingIndex) { return NSDragOperationNone; index = MAX (index, encodingIndex); |