diff options
author | rowanbeentje <rowan@beent.je> | 2010-09-18 18:01:20 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-09-18 18:01:20 +0000 |
commit | 7437f0325133123acaaabd844be3d1f2701418df (patch) | |
tree | cc95f89a26b0cc37c54abd714c511c631e87bbf4 /Source/SPFieldMapperController.m | |
parent | 50c324b28583355740199c8c22a5c4d8bd63c050 (diff) | |
download | sequelpro-7437f0325133123acaaabd844be3d1f2701418df.tar.gz sequelpro-7437f0325133123acaaabd844be3d1f2701418df.tar.bz2 sequelpro-7437f0325133123acaaabd844be3d1f2701418df.zip |
- Remove a number of invalid [NSTableView makeFirstResponder] calls that had crept into the source, replacing with the correct [NSWindow makeFirstResponder:NSTableView]. This fixes a number of exceptions.
- Update localisable strings.
Diffstat (limited to 'Source/SPFieldMapperController.m')
-rw-r--r-- | Source/SPFieldMapperController.m | 6 |
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; } |