diff options
author | sqlprodev <sqlprodev@northofthree.com> | 2012-07-05 17:57:24 +0000 |
---|---|---|
committer | sqlprodev <sqlprodev@northofthree.com> | 2012-07-05 17:57:24 +0000 |
commit | d8a3650b1106fa8a4563e032e7ad66ca076da01b (patch) | |
tree | c0c2463557610a3abfa6372df698dd6fdbe05875 /Source/SPDatabaseViewController.m | |
parent | f834f466cb51061f40199cf63d8e1cf47b1b1794 (diff) | |
download | sequelpro-d8a3650b1106fa8a4563e032e7ad66ca076da01b.tar.gz sequelpro-d8a3650b1106fa8a4563e032e7ad66ca076da01b.tar.bz2 sequelpro-d8a3650b1106fa8a4563e032e7ad66ca076da01b.zip |
Merged SP r3710 with Coda
Diffstat (limited to 'Source/SPDatabaseViewController.m')
-rw-r--r-- | Source/SPDatabaseViewController.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPDatabaseViewController.m b/Source/SPDatabaseViewController.m index 485a3cfa..962ebedb 100644 --- a/Source/SPDatabaseViewController.m +++ b/Source/SPDatabaseViewController.m @@ -37,6 +37,7 @@ #import <SPMySQL/SPMySQL.h> #ifdef SP_REFACTOR /* headers */ #import "SPTableStructure.h" +#import "SPTableStructureLoading.h" #endif @interface SPDatabaseDocument (SPDatabaseViewControllerPrivateAPI) @@ -220,7 +221,11 @@ */ - (void)setStructureRequiresReload:(BOOL)reload { +#ifndef SP_REFACTOR if (reload && selectedTableName && [tableTabView indexOfTabViewItem:[tableTabView selectedTabViewItem]] == SPTableViewStructure) { +#else + if (reload && selectedTableName ) { +#endif [tableSourceInstance loadTable:selectedTableName]; } else { structureLoaded = !reload; |