aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCustomQuery.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2011-05-08 17:31:49 +0000
committerBibiko <bibiko@eva.mpg.de>2011-05-08 17:31:49 +0000
commit48ad08f610c77e2c8d34d2bd08d56147f057e001 (patch)
tree9e47f76569af9318c519825bf2256c2ac7245b6b /Source/SPCustomQuery.m
parent75ef02696f362f408efece70ede90a6575abfb5a (diff)
downloadsequelpro-48ad08f610c77e2c8d34d2bd08d56147f057e001.tar.gz
sequelpro-48ad08f610c77e2c8d34d2bd08d56147f057e001.tar.bz2
sequelpro-48ad08f610c77e2c8d34d2bd08d56147f057e001.zip
• send current event after displaying field editor sheet for editing table cells
- fixes i1022
Diffstat (limited to 'Source/SPCustomQuery.m')
-rw-r--r--Source/SPCustomQuery.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m
index a67ec5f3..bed5506e 100644
--- a/Source/SPCustomQuery.m
+++ b/Source/SPCustomQuery.m
@@ -3868,6 +3868,10 @@
// Call the field editor sheet
[self tableView:customQueryView shouldEditTableColumn:NSArrayObjectAtIndex([customQueryView tableColumns], column) row:row];
+ // send current event to field editor sheet
+ if([NSApp currentEvent])
+ [NSApp sendEvent:[NSApp currentEvent]];
+
return NO;
}