diff options
author | ritsuka <[email protected]> | 2015-07-22 11:38:23 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-07-22 11:38:23 +0000 |
commit | 438ffd01fdc4615aab516394d7eb422f7ca3af3f (patch) | |
tree | b69aebf71cdb97a499e57d949b634eefcb70cef2 /macosx/HBQueueController.m | |
parent | be9ac805c8fbc2c8ba37389ce034db92f15b7e4a (diff) |
MacGui: do not let an instance edit a job that another instance is currently encoding. Fix the "Stop encoding" menu item key equivalent.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7359 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBQueueController.m')
-rw-r--r-- | macosx/HBQueueController.m | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m index e97f7162c..d43c43d70 100644 --- a/macosx/HBQueueController.m +++ b/macosx/HBQueueController.m @@ -113,14 +113,12 @@ if (self.core.state == HBStateIdle) { menuItem.title = NSLocalizedString(@"Start Encoding", nil); - menuItem.keyEquivalent = @"s"; return (self.pendingItemsCount > 0); } else if (self.core.state != HBStateIdle) { menuItem.title = NSLocalizedString(@"Stop Encoding", nil); - menuItem.keyEquivalent = @"."; return YES; } @@ -1015,7 +1013,7 @@ didEndSelector:@selector(didDimissEditCurrentJob:returnCode:contextInfo:) contextInfo:(__bridge void *)(job)]; } - else + else if (job.state != HBJobStateWorking) { // since we are not a currently encoding item, we can just be edit it HBJob *item = [[self.jobs[row] representedObject] copy]; |