diff options
author | stuconnolly <stuart02@gmail.com> | 2013-02-16 22:03:09 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2013-02-16 22:03:09 +0000 |
commit | 27156550b646a74d2345b4ff9650b7a3b4ba052e (patch) | |
tree | 4f2608744fcef3524e1c208d860452a120e1a4ce /Source/SPCustomQuery.m | |
parent | 624244dd35a6ca2e7942fbadbcaea756367b3453 (diff) | |
download | sequelpro-27156550b646a74d2345b4ff9650b7a3b4ba052e.tar.gz sequelpro-27156550b646a74d2345b4ff9650b7a3b4ba052e.tar.bz2 sequelpro-27156550b646a74d2345b4ff9650b7a3b4ba052e.zip |
Fix more wanrings by creating a protocol that delegates of the copy table should conform to.
Diffstat (limited to 'Source/SPCustomQuery.m')
-rw-r--r-- | Source/SPCustomQuery.m | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m index 18b14c58..9f97e7b4 100644 --- a/Source/SPCustomQuery.m +++ b/Source/SPCustomQuery.m @@ -1630,14 +1630,6 @@ } /** - * Provide a getter for the custom query result table's current viewport - */ -- (NSArray *)dataColumnDefinitions -{ - return cqColumnDefinition; -} - -/** * Set the selected row indexes to restore on next custom query result table load */ - (void)setResultSelectedRowIndexesToRestore:(NSIndexSet *)theIndexSet @@ -3280,7 +3272,6 @@ */ - (void)historyItemsHaveBeenUpdated:(id)manager { - // Abort if the connection has been closed already - sign of a closed window if (![mySQLConnection isConnected]) return; @@ -3365,6 +3356,17 @@ #endif #pragma mark - +#pragma mark Database content view delegate methods + +/** + * Provide a getter for the custom query result table's current viewport + */ +- (NSArray *)dataColumnDefinitions +{ + return cqColumnDefinition; +} + +#pragma mark - #pragma mark Task interaction /** |