From: dynaflash Date: Tue, 4 Sep 2007 16:51:27 +0000 (+0000) Subject: MacGui: Fix Auto Naming to use the titile->index value instead of indexOfSelectedItem... X-Git-Tag: 0.9.1~90 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ecc15e8442ce439445962aa34b6a36a065b6be7;p=handbrake MacGui: Fix Auto Naming to use the titile->index value instead of indexOfSelectedItem in the title popup to reflect the dvd's title number. - Thanks clee! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@919 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/macosx/Controller.mm b/macosx/Controller.mm index c829bba27..173a54c5e 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -1832,7 +1832,7 @@ list = hb_get_titles( fHandle ); [fDstFile2Field setStringValue: [NSString stringWithFormat: @"%@/%@-%d.%@", [[fDstFile2Field stringValue] stringByDeletingLastPathComponent], [NSString stringWithUTF8String: title->name], - [fSrcTitlePopUp indexOfSelectedItem] + 1, + title->index, [[fDstFile2Field stringValue] pathExtension]]]; }