aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;