diff options
author | stuconnolly <stuart02@gmail.com> | 2011-02-07 20:20:41 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2011-02-07 20:20:41 +0000 |
commit | 2e31a4ad75b8e47a4feacadd567fbfab65eeede9 (patch) | |
tree | d224d2cda8463ca7645443944002e9f639909929 /Source/SPDatabaseViewController.m | |
parent | c9338aee82e9b42a07e93625c3235977c3dbf1b4 (diff) | |
download | sequelpro-2e31a4ad75b8e47a4feacadd567fbfab65eeede9.tar.gz sequelpro-2e31a4ad75b8e47a4feacadd567fbfab65eeede9.tar.bz2 sequelpro-2e31a4ad75b8e47a4feacadd567fbfab65eeede9.zip |
Bring outline view branch up to date with trunk (r3179:r3187).
Diffstat (limited to 'Source/SPDatabaseViewController.m')
-rw-r--r-- | Source/SPDatabaseViewController.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPDatabaseViewController.m b/Source/SPDatabaseViewController.m index a7867c53..03153230 100644 --- a/Source/SPDatabaseViewController.m +++ b/Source/SPDatabaseViewController.m @@ -426,6 +426,12 @@ if (changeEncoding) [mySQLConnection restoreStoredEncoding]; + // Cache table information on the working thread + if (selectedTableType == SPTableTypeView) + [tableDataInstance updateInformationForCurrentView]; + else + [tableDataInstance updateInformationForCurrentTable]; + // Notify listeners of the table change now that the state is fully set up. [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadWithName:SPTableChangedNotification object:self]; |