summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBChapterTitlesController.m2
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 */