aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPCustomQuery.m4
-rw-r--r--Source/SPTableContent.m4
2 files changed, 8 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;
}
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;
}