aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-03-28 20:38:26 +0000
committerstuconnolly <stuart02@gmail.com>2012-03-28 20:38:26 +0000
commit8955aa6db95409141f21f85ebe501a503e27fdb4 (patch)
tree9c07bd6332527c2ed1434a8cc6a6278d72ca7ab7 /Source/SPDatabaseDocument.h
parentf1c87b5d2feaf9499f2525d331228d3d28d6d242 (diff)
downloadsequelpro-8955aa6db95409141f21f85ebe501a503e27fdb4.tar.gz
sequelpro-8955aa6db95409141f21f85ebe501a503e27fdb4.tar.bz2
sequelpro-8955aa6db95409141f21f85ebe501a503e27fdb4.zip
Refresh the database drop down menu before selecting the new database after a rename to prevent a secondary thread using the database list while it's being modified on the main thread. Fixes log reports http://spbug.com/l/2294
Diffstat (limited to 'Source/SPDatabaseDocument.h')
-rw-r--r--Source/SPDatabaseDocument.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPDatabaseDocument.h b/Source/SPDatabaseDocument.h
index 8e239344..5616520c 100644
--- a/Source/SPDatabaseDocument.h
+++ b/Source/SPDatabaseDocument.h
@@ -397,6 +397,8 @@ SPDatabaseData, SPTablesList, SPTableStructure, SPTableContent, SPTableData, SPS
- (NSString *)displayName;
#ifndef SP_REFACTOR /* method decls */
- (NSUndoManager *)undoManager;
+- (NSArray *)allTableNames;
+- (SPTablesList *)tablesListInstance;
// Notification center methods
- (void)willPerformQuery:(NSNotification *)notification;
@@ -461,8 +463,6 @@ SPDatabaseData, SPTablesList, SPTableStructure, SPTableContent, SPTableData, SPS
#ifdef SP_REFACTOR /* method decls */
- (SPConnectionController*)createConnectionController;
- (void)connect;
-- (NSArray*)allTableNames;
-- (SPTablesList*)tablesListInstance;
- (void)setTableSourceInstance:(SPTableStructure*)source;
- (void)setTableContentInstance:(SPTableContent*)content;