diff options
author | dmoagx <post@wickenrode.com> | 2013-02-09 23:35:52 +0000 |
---|---|---|
committer | dmoagx <post@wickenrode.com> | 2013-02-09 23:35:52 +0000 |
commit | 4be04fd8fd3035dd77d44851d9470d8328a3af74 (patch) | |
tree | 7e56be3fbc545d2f88745dbf50747a70ecceb9c1 | |
parent | bb61fe13ac5c4c01182ea06d0f7b09e64e9678ff (diff) | |
download | sequelpro-4be04fd8fd3035dd77d44851d9470d8328a3af74.tar.gz sequelpro-4be04fd8fd3035dd77d44851d9470d8328a3af74.tar.bz2 sequelpro-4be04fd8fd3035dd77d44851d9470d8328a3af74.zip |
* Fixes #1605
-rw-r--r-- | Source/SPFavoritesImportProtocol.h | 2 | ||||
-rw-r--r-- | Source/SPFavoritesImporter.h | 2 | ||||
-rw-r--r-- | Source/SPFavoritesImporter.m | 4 |
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]; } } |