diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-09-21 08:43:13 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-09-21 08:43:13 +0000 |
commit | e42ca858f56f62768da1118787c0bde0ad92fb93 (patch) | |
tree | 0598755bd4be588aa3c9b4ea0a4e39e385a7ff2f | |
parent | 4c7cd2cc663f6839821a0683547421e5793acb33 (diff) | |
download | sequelpro-e42ca858f56f62768da1118787c0bde0ad92fb93.tar.gz sequelpro-e42ca858f56f62768da1118787c0bde0ad92fb93.tar.bz2 sequelpro-e42ca858f56f62768da1118787c0bde0ad92fb93.zip |
• 'doPerformQueryService' set toolbar to Custom Query
- minor commenting stuff
-rw-r--r-- | Source/SPDatabaseDocument.m | 11 |
1 files changed, 6 insertions, 5 deletions
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. */ |