From 27156550b646a74d2345b4ff9650b7a3b4ba052e Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sat, 16 Feb 2013 22:03:09 +0000 Subject: Fix more wanrings by creating a protocol that delegates of the copy table should conform to. --- Source/SPCustomQuery.m | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'Source/SPCustomQuery.m') diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m index 18b14c58..9f97e7b4 100644 --- a/Source/SPCustomQuery.m +++ b/Source/SPCustomQuery.m @@ -1629,14 +1629,6 @@ return [customQueryView visibleRect]; } -/** - * 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 */ @@ -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; @@ -3364,6 +3355,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 -- cgit v1.2.3