aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordmoagx <post@wickenrode.com>2013-02-01 23:36:51 +0000
committerdmoagx <post@wickenrode.com>2013-02-01 23:36:51 +0000
commit82c448ad7672b844535b366e6e58243d6113691c (patch)
tree54669f68a29fb51b90dfde7eaf4cf1e208597287
parenta7e4480129a50db452eab212a9f82ee1ac93191c (diff)
downloadsequelpro-82c448ad7672b844535b366e6e58243d6113691c.tar.gz
sequelpro-82c448ad7672b844535b366e6e58243d6113691c.tar.bz2
sequelpro-82c448ad7672b844535b366e6e58243d6113691c.zip
* Fixes #1568 (Enter key was linked to "Run All" while displayed as linked to "Run Current")
-rw-r--r--Source/SPCustomQuery.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m
index 39d2d1e7..5abd0ef3 100644
--- a/Source/SPCustomQuery.m
+++ b/Source/SPCustomQuery.m
@@ -2594,7 +2594,7 @@
if (aTextView == textView) {
if ([aTextView methodForSelector:aSelector] == [aTextView methodForSelector:@selector(insertNewline:)] &&
[[[NSApp currentEvent] characters] isEqualToString:@"\003"]) {
- [self runAllQueries:self];
+ [self runSelectedQueries:self];
return YES;
}