From e42ca858f56f62768da1118787c0bde0ad92fb93 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 21 Sep 2010 08:43:13 +0000 Subject: =?UTF-8?q?=E2=80=A2=20'doPerformQueryService'=20set=20toolbar=20t?= =?UTF-8?q?o=20Custom=20Query=20-=20minor=20commenting=20stuff?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPDatabaseDocument.m | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Source') diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index 0ef05264..d22de2a3 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -2493,7 +2493,8 @@ - (void)doPerformQueryService:(NSString *)query { [parentWindow makeKeyAndOrderFront:self]; - [tablesListInstance doPerformQueryService:query]; + [self viewQuery:nil]; + [customQueryInstance doPerformQueryService:query]; } /** @@ -2561,7 +2562,7 @@ } } -/* +/** * Is current document Untitled? */ - (BOOL)isUntitled @@ -3515,7 +3516,7 @@ [tableDumpInstance importFromClipboard]; } -/* +/** * Show the MySQL Help TOC of the current MySQL connection * Invoked by the MainMenu > Help > MySQL Help */ @@ -3839,7 +3840,7 @@ } } -/* +/** * Return the createTableSyntaxWindow */ - (NSWindow *)getCreateTableSyntaxWindow @@ -4410,7 +4411,7 @@ return [[spfFileURL copy] autorelease]; } -/* +/** * Invoked if user chose "Save" from 'Do you want save changes you made...' sheet * which is called automatically if [self isDocumentEdited] == YES and user wanted to close an Untitled doc. */ -- cgit v1.2.3