diff options
author | stuconnolly <stuart02@gmail.com> | 2010-03-08 14:45:27 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-03-08 14:45:27 +0000 |
commit | 256b06622980461740af4774206ca77e534acd21 (patch) | |
tree | b846e83d1a8dfc7f9a0882bdc950941b7714cece /Source/TableContent.m | |
parent | 9a15311b23c074ce579cd55631c8f2b0e574fda0 (diff) | |
download | sequelpro-256b06622980461740af4774206ca77e534acd21.tar.gz sequelpro-256b06622980461740af4774206ca77e534acd21.tar.bz2 sequelpro-256b06622980461740af4774206ca77e534acd21.zip |
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.
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r-- | Source/TableContent.m | 10 |
1 files changed, 10 insertions, 0 deletions
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 { |