From 256b06622980461740af4774206ca77e534acd21 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Mon, 8 Mar 2010 14:45:27 +0000 Subject: Add a new 'Filter Content...' menu item to the 'Table' menu that switches to the content view and places the focus on the filter field. --- Source/TableContent.m | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Source/TableContent.m') diff --git a/Source/TableContent.m b/Source/TableContent.m index 4a69e67a..9dd7f983 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -3225,6 +3225,16 @@ return YES; } +/** + * Makes the content filter field have focus by making it the first responder. + */ +- (void)makeContentFilterHaveFocus +{ + [tableWindow makeFirstResponder:argumentField]; +} + +#pragma mark - + // Last but not least - (void)dealloc { -- cgit v1.2.3