aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index 0e01c148..ee400a06 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -552,6 +552,11 @@ YY_BUFFER_STATE yy_scan_string (const char *);
if (cmdData) [cmdData release];
return;
}
+
+ // Reload Bundles if Sequel Pro didn't run
+ if(![installedBundleUUIDs count])
+ [self reloadBundles:self];
+
if([[installedBundleUUIDs allKeys] containsObject:[cmdData objectForKey:SPBundleFileUUIDKey]]) {
NSAlert *alert = [NSAlert alertWithMessageText:[NSString stringWithFormat:NSLocalizedString(@"Installing Bundle", @"Open Files : Bundle : Already-Installed : 'Update Bundle' question dialog title")]
defaultButton:NSLocalizedString(@"Update", @"Open Files : Bundle : Already-Installed : Update button")