diff options
-rw-r--r-- | macosx/HBQueueController.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m index 7fb3878c1..3a0840293 100644 --- a/macosx/HBQueueController.m +++ b/macosx/HBQueueController.m @@ -854,7 +854,9 @@ static void *HBControllerQueueCoreContext = &HBControllerQueueCoreContext; NSParameterAssert(job); // Reset the title in the job. - job.title = self.core.titles[0]; + job.title = self.core.titles.firstObject; + + NSParameterAssert(job); HBStateFormatter *formatter = [[HBStateFormatter alloc] init]; formatter.title = job.outputFileName; |