aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authordmoagx <post@wickenrode.com>2013-02-09 23:35:52 +0000
committerdmoagx <post@wickenrode.com>2013-02-09 23:35:52 +0000
commit4be04fd8fd3035dd77d44851d9470d8328a3af74 (patch)
tree7e56be3fbc545d2f88745dbf50747a70ecceb9c1 /Source
parentbb61fe13ac5c4c01182ea06d0f7b09e64e9678ff (diff)
downloadsequelpro-4be04fd8fd3035dd77d44851d9470d8328a3af74.tar.gz
sequelpro-4be04fd8fd3035dd77d44851d9470d8328a3af74.tar.bz2
sequelpro-4be04fd8fd3035dd77d44851d9470d8328a3af74.zip
* Fixes #1605
Diffstat (limited to 'Source')
-rw-r--r--Source/SPFavoritesImportProtocol.h2
-rw-r--r--Source/SPFavoritesImporter.h2
-rw-r--r--Source/SPFavoritesImporter.m4
3 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPFavoritesImportProtocol.h b/Source/SPFavoritesImportProtocol.h
index 23a6db72..37e9fe08 100644
--- a/Source/SPFavoritesImportProtocol.h
+++ b/Source/SPFavoritesImportProtocol.h
@@ -31,7 +31,7 @@
// More info at <http://code.google.com/p/sequel-pro/>
/**
- * @protocol SPFavoritesExportProtocol SPFavoritesExportProtocol.h
+ * @protocol SPFavoritesImportProtocol SPFavoritesImportProtocol.h
*
* @author Stuart Connolly http://stuconnolly.com/
*
diff --git a/Source/SPFavoritesImporter.h b/Source/SPFavoritesImporter.h
index 100b7221..51bf82c9 100644
--- a/Source/SPFavoritesImporter.h
+++ b/Source/SPFavoritesImporter.h
@@ -42,7 +42,7 @@
@property (readwrite, assign) NSObject <SPFavoritesImportProtocol> *delegate;
/**
- * @property exportPath The file path to import from
+ * @property importPath The file path to import from
*/
@property (readwrite, retain) NSString *importPath;
diff --git a/Source/SPFavoritesImporter.m b/Source/SPFavoritesImporter.m
index 3a0c2099..f33e1705 100644
--- a/Source/SPFavoritesImporter.m
+++ b/Source/SPFavoritesImporter.m
@@ -100,8 +100,8 @@
*/
- (void)_informDelegateOfImportCompletion:(NSError *)error
{
- if ([self delegate] && [[self delegate] respondsToSelector:@selector(favoritesExportCompletedWithError:)]) {
- [[self delegate] performSelectorOnMainThread:@selector(favoritesExportCompletedWithError:) withObject:error waitUntilDone:NO];
+ if ([self delegate] && [[self delegate] respondsToSelector:@selector(favoritesImportCompletedWithError:)]) {
+ [[self delegate] performSelectorOnMainThread:@selector(favoritesImportCompletedWithError:) withObject:error waitUntilDone:NO];
}
}