summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueController.mm
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBQueueController.mm')
-rw-r--r--macosx/HBQueueController.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/HBQueueController.mm b/macosx/HBQueueController.mm
index cb8be2351..0e1476128 100644
--- a/macosx/HBQueueController.mm
+++ b/macosx/HBQueueController.mm
@@ -473,7 +473,8 @@ if (fWorkingCount > 0)
/* if this is a currently encoding job, we need to be sure to alert the user,
* to let them decide to cancel it first, then if they do, we can come back and
* remove it */
- if (row == fEncodingQueueItem)
+
+ if ([[[fJobGroups objectAtIndex:row] objectForKey:@"Status"] intValue] == 1)
{
NSString * alertTitle = [NSString stringWithFormat:NSLocalizedString(@"Stop This Encode and Remove It ?", nil)];
// Which window to attach the sheet to?