aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
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];
}
}