Change the first responder only if there is a result from the search, if there isn’t the user probably will try to another search with a different name, so the search text filed need to remain the first responder.
This commit is contained in:
1 parent
98c92addee
commit
22a31217cb
1 file changed
+2
-1
@@ -220,7 +220,8 @@
|
||||
[resultsTable reloadData];
|
||||
[metadataTable reloadData];
|
||||
[self tableViewSelectionDidChange:[NSNotification notificationWithName:@"tableViewSelectionDidChange" object:resultsTable]];
|
||||
[[self window] makeFirstResponder:resultsTable];
|
||||
if ([resultsArray count])
|
||||
[[self window] makeFirstResponder:resultsTable];
|
||||
currentSearcher = nil;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user