aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldMapperController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-06-18 12:34:37 +0000
committerBibiko <bibiko@eva.mpg.de>2010-06-18 12:34:37 +0000
commit43410663ca0338c8203c30156bd5391bb1f8fb37 (patch)
tree2f16d95daaec763d43eace1cd64f726bc676d441 /Source/SPFieldMapperController.m
parentd59b7c6e69a6fa47eca55fda006d826e988c1384 (diff)
downloadsequelpro-43410663ca0338c8203c30156bd5391bb1f8fb37.tar.gz
sequelpro-43410663ca0338c8203c30156bd5391bb1f8fb37.tar.bz2
sequelpro-43410663ca0338c8203c30156bd5391bb1f8fb37.zip
• fixed issue for Import from Clipboard
- there's no need to check the passed path for clipboard content
Diffstat (limited to 'Source/SPFieldMapperController.m')
-rw-r--r--Source/SPFieldMapperController.m6
1 files changed, 1 insertions, 5 deletions
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];