aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormltownsend <mltownsend@gmail.com>2008-11-19 17:36:52 +0000
committermltownsend <mltownsend@gmail.com>2008-11-19 17:36:52 +0000
commit8f6ab640d6e006779a076a406812f84102c293e3 (patch)
tree49afe3bdca750f05e8232eb7ff216f16c4a2bfed
parentabb0212825d0db13bd2cc68bbea4636498baa4f5 (diff)
downloadsequelpro-8f6ab640d6e006779a076a406812f84102c293e3.tar.gz
sequelpro-8f6ab640d6e006779a076a406812f84102c293e3.tar.bz2
sequelpro-8f6ab640d6e006779a076a406812f84102c293e3.zip
Fix for Issue 64
-rw-r--r--CustomQuery.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/CustomQuery.m b/CustomQuery.m
index 19ae26e0..d7d19770 100644
--- a/CustomQuery.m
+++ b/CustomQuery.m
@@ -36,6 +36,12 @@ performs the mysql-query given by the user
sets the tableView columns corresponding to the mysql-result
*/
{
+ // Fixes bug in key equivalents.
+ if ([[NSApp currentEvent] type] == NSKeyUp)
+ {
+ return;
+ }
+
NSArray *theColumns;
NSTableColumn *theCol;
CMMCPResult *theResult = nil;