From 1e93087497f97e0615fa3d05aea6b157b9b88480 Mon Sep 17 00:00:00 2001 From: ritsuka Date: Mon, 29 Dec 2014 08:43:30 +0000 Subject: MacGui: set the default name for the exported chapters to the destination file name again. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6670 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBChapterTitlesController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macosx/HBChapterTitlesController.m') diff --git a/macosx/HBChapterTitlesController.m b/macosx/HBChapterTitlesController.m index ad48b48fe..0ad874a08 100644 --- a/macosx/HBChapterTitlesController.m +++ b/macosx/HBChapterTitlesController.m @@ -204,7 +204,7 @@ a timer to avoid interfering with the chain of events that handles the edit. */ NSSavePanel *panel = [NSSavePanel savePanel]; [panel setAllowedFileTypes:@[@"csv"]]; [panel setDirectoryURL:[NSURL fileURLWithPath:destinationDirectory]]; - //[panel setNameFieldStringValue:[[[fDstFile2Field stringValue] lastPathComponent] stringByDeletingPathExtension]]; + [panel setNameFieldStringValue:self.job.destURL.lastPathComponent.stringByDeletingPathExtension]; [panel beginSheetModalForWindow:[[self view] window] completionHandler:^(NSInteger result) { NSString *chapterName; /* pointer for string for later file-writing */ -- cgit v1.2.3