aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.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/SPTableContent.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/SPTableContent.m')
-rw-r--r--Source/SPTableContent.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index 572a430e..6422ff7e 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -4583,6 +4583,10 @@
// Call the field editor sheet
[self tableView:tableContentView shouldEditTableColumn:NSArrayObjectAtIndex([tableContentView tableColumns], column) row:row];
+ // send current event to field editor sheet
+ if([NSApp currentEvent])
+ [NSApp sendEvent:[NSApp currentEvent]];
+
return NO;
}