aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-11-27 22:51:47 +0000
committerrowanbeentje <rowan@beent.je>2010-11-27 22:51:47 +0000
commit10117475bae9659b41d41c8d408bee3a3c0d6cf2 (patch)
tree82f49c6b362c128faf9c58d80bb24fe0bbbd46c6 /Source/SPDatabaseDocument.m
parent9309908a0e5e425314f9e602ed79056134aa7750 (diff)
downloadsequelpro-10117475bae9659b41d41c8d408bee3a3c0d6cf2.tar.gz
sequelpro-10117475bae9659b41d41c8d408bee3a3c0d6cf2.tar.bz2
sequelpro-10117475bae9659b41d41c8d408bee3a3c0d6cf2.zip
- Fix issues right-clicking in the empty table area ( http://spbug.com/l/1726 )
- Improve 10.5 compatibility when clearing menus ( http://spbug.com/l/1508 , http://spbug.com/l/1829 , http://spbug.com/l/1818 ) - Fix a possible crash when updating database lists - Update localisable strings
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r--Source/SPDatabaseDocument.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index be5f1155..4b52b39d 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -5220,7 +5220,7 @@
SPBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, parentWindow, self, nil, nil, [NSString stringWithFormat:NSLocalizedString(@"Unable to connect to database %@.\nBe sure that you have the necessary privileges.", @"message of panel when connection to db failed after selecting from popupbutton"), targetDatabaseName]);
// Update the database list
- [self setDatabases:self];
+ [[self onMainThread] setDatabases:self];
}
[self endTask];