aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-09-21 08:43:13 +0000
committerBibiko <bibiko@eva.mpg.de>2010-09-21 08:43:13 +0000
commite42ca858f56f62768da1118787c0bde0ad92fb93 (patch)
tree0598755bd4be588aa3c9b4ea0a4e39e385a7ff2f
parent4c7cd2cc663f6839821a0683547421e5793acb33 (diff)
downloadsequelpro-e42ca858f56f62768da1118787c0bde0ad92fb93.tar.gz
sequelpro-e42ca858f56f62768da1118787c0bde0ad92fb93.tar.bz2
sequelpro-e42ca858f56f62768da1118787c0bde0ad92fb93.zip
• 'doPerformQueryService' set toolbar to Custom Query
- minor commenting stuff
-rw-r--r--Source/SPDatabaseDocument.m11
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.
*/