diff options
author | ritsuka <[email protected]> | 2014-12-29 08:43:30 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-12-29 08:43:30 +0000 |
commit | 1e93087497f97e0615fa3d05aea6b157b9b88480 (patch) | |
tree | c42421ad83f56a680965440edd1a29fbd24043ff /macosx/HBChapterTitlesController.m | |
parent | 0ca568a18216cfaa4785c36637a81a241fd8821e (diff) |
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
Diffstat (limited to 'macosx/HBChapterTitlesController.m')
-rw-r--r-- | macosx/HBChapterTitlesController.m | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |