From 100320568adcbf0bc8d650246bcb170dac0544db Mon Sep 17 00:00:00 2001 From: dynaflash Date: Fri, 12 Feb 2010 16:55:02 +0000 Subject: [PATCH] MacGui: Queue edit rescan fix for multiple title sources - Do not try to set the title popup to the original title number since its a single title rescan. git-svn-id: svn://localhost/HandBrake/trunk@3115 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/Controller.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index 2b81d314..013de259 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -2760,8 +2760,10 @@ fWorkingCount = 0; [self writeToActivityLog: "applyQueueSettingsToMainWindow: queue item found"]; } /* Set title number and chapters */ - /* since the queue only scans a single title, we really don't need to pick a title */ - [fSrcTitlePopUp selectItemAtIndex: [[queueToApply objectForKey:@"TitleNumber"] intValue] - 1]; + /* since the queue only scans a single title, its already been selected in showNewScan + so do not try to reset it here. However if we do decide to do full source scans on + a queue edit rescan, we would need it. So leaving in for now but commenting out. */ + //[fSrcTitlePopUp selectItemAtIndex: [[queueToApply objectForKey:@"TitleNumber"] intValue] - 1]; [fSrcChapterStartPopUp selectItemAtIndex: [[queueToApply objectForKey:@"ChapterStart"] intValue] - 1]; [fSrcChapterEndPopUp selectItemAtIndex: [[queueToApply objectForKey:@"ChapterEnd"] intValue] - 1]; -- 2.11.0