From 43410663ca0338c8203c30156bd5391bb1f8fb37 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Fri, 18 Jun 2010 12:34:37 +0000 Subject: =?UTF-8?q?=E2=80=A2=20fixed=20issue=20for=20Import=20from=20Clipb?= =?UTF-8?q?oard=20-=20there's=20no=20need=20to=20check=20the=20passed=20pa?= =?UTF-8?q?th=20for=20clipboard=20content?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPFieldMapperController.m | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Source/SPFieldMapperController.m') diff --git a/Source/SPFieldMapperController.m b/Source/SPFieldMapperController.m index 0c54df10..d6f8185e 100644 --- a/Source/SPFieldMapperController.m +++ b/Source/SPFieldMapperController.m @@ -82,11 +82,7 @@ { // 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]; -- cgit v1.2.3