From 7437f0325133123acaaabd844be3d1f2701418df Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sat, 18 Sep 2010 18:01:20 +0000 Subject: - 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. --- Source/SPCustomQuery.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/SPCustomQuery.m') diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m index ae1b01c0..35401d97 100644 --- a/Source/SPCustomQuery.m +++ b/Source/SPCustomQuery.m @@ -2296,7 +2296,7 @@ if ( editData ) [editData release]; // Preserve focus and restore selection indexes if appropriate - [customQueryView makeFirstResponder]; + [[tableDocumentInstance parentWindow] makeFirstResponder:customQueryView]; if (selectionIndexToRestore) [customQueryView selectRowIndexes:selectionIndexToRestore byExtendingSelection:NO]; @@ -3607,7 +3607,7 @@ [control abortEditing]; // Preserve the focus - [customQueryView makeFirstResponder]; + [[tableDocumentInstance parentWindow] makeFirstResponder:customQueryView]; return TRUE; } -- cgit v1.2.3