diff options
Diffstat (limited to 'Source/SPFieldMapperController.m')
-rw-r--r-- | Source/SPFieldMapperController.m | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Source/SPFieldMapperController.m b/Source/SPFieldMapperController.m index a3d17f1c..ae935b44 100644 --- a/Source/SPFieldMapperController.m +++ b/Source/SPFieldMapperController.m @@ -82,13 +82,8 @@ { // Set source path - if([sourcePath hasPrefix:SPImportClipboardTempFileNamePrefix]) { - [fileSourcePath setURL:[NSURL fileURLWithPath:NSLocalizedString(@"Clipboard", @"Clipboard")]]; - } else { - [fileSourcePath setURL:[NSURL fileURLWithPath:sourcePath]]; - } + [fileSourcePath setURL:[NSURL fileURLWithPath:sourcePath]]; [fileSourcePath setDoubleAction:@selector(goBackToFileChooser:)]; - [onupdateTextView setDelegate:theDelegate]; windowMinWidth = [[self window] minSize].width; windowMinHeigth = [[self window] minSize].height; @@ -546,11 +541,7 @@ - (IBAction)goBackToFileChooser:(id)sender { [NSApp endSheet:[self window] returnCode:[sender tag]]; - if([sourcePath hasPrefix:SPImportClipboardTempFileNamePrefix]) { - [theDelegate importFromClipboard]; - } else { - [theDelegate importFile]; - } + [theDelegate importFile]; } #pragma mark - |