diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-11-17 12:08:13 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-11-17 12:08:13 +0000 |
commit | 16d98d9753198d9c654f18351f42131dc74516e1 (patch) | |
tree | b836052c1f92c2a3029494976a22aec4c2f44de3 /Source/SPAppController.m | |
parent | aa818d39f3437acdc28661700a4b0e5de8096815 (diff) | |
download | sequelpro-16d98d9753198d9c654f18351f42131dc74516e1.tar.gz sequelpro-16d98d9753198d9c654f18351f42131dc74516e1.tar.bz2 sequelpro-16d98d9753198d9c654f18351f42131dc74516e1.zip |
• further work on Bundle Editor
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r-- | Source/SPAppController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m index c3698db0..430587a0 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -872,7 +872,7 @@ if(bundlePath) { NSError *error = nil; NSArray *foundBundles = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:bundlePath error:&error]; - if (foundBundles && [foundBundles count]) { + if (foundBundles && [foundBundles count] && error == nil) { for(NSString* bundle in foundBundles) { if(![[[bundle pathExtension] lowercaseString] isEqualToString:[SPUserBundleFileExtension lowercaseString]]) continue; |