aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldMapperController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPFieldMapperController.m')
-rw-r--r--Source/SPFieldMapperController.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPFieldMapperController.m b/Source/SPFieldMapperController.m
index 6adbcf46..ccb6d616 100644
--- a/Source/SPFieldMapperController.m
+++ b/Source/SPFieldMapperController.m
@@ -1820,7 +1820,7 @@
// Save the current line if it's the last field in the table
if ( [fieldMapperTableView numberOfColumns] - 1 == column) {
- [fieldMapperTableView makeFirstResponder];
+ [[fieldMapperTableView window] makeFirstResponder:fieldMapperTableView];
} else {
// Select the next field for editing
[fieldMapperTableView editColumn:column+1 row:row withEvent:nil select:YES];
@@ -1836,7 +1836,7 @@
// Save the current line if it's the last field in the table
if ( column < 1 ) {
- [fieldMapperTableView makeFirstResponder];
+ [[fieldMapperTableView window] makeFirstResponder:fieldMapperTableView];
} else {
// Select the previous field for editing
[fieldMapperTableView editColumn:column-1 row:row withEvent:nil select:YES];
@@ -1908,7 +1908,7 @@
[control abortEditing];
// Preserve the focus
- [fieldMapperTableView makeFirstResponder];
+ [[fieldMapperTableView window] makeFirstResponder:fieldMapperTableView];
return TRUE;
}