Changeset 11998


Ignore:
Timestamp:
Feb 20, 2011, 4:34:46 AM (11 years ago)
Author:
livings124
Message:

restore cmd-option-f to select the search filter field when the torrent table view is selected

Location:
trunk/macosx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r11997 r11998  
    29792979}
    29802980
    2981 #warning fix?
    29822981- (void) focusFilterField
    29832982{
    2984     /*[fWindow makeFirstResponder: fSearchFilterField];
    2985     if ([fFilterBar isHidden])
    2986         [self toggleFilterBar: self];*/
     2983    if (!fFilterBar)
     2984        [self toggleFilterBar: self];
     2985    [fFilterBar focusSearchField];
    29872986}
    29882987
  • trunk/macosx/FilterBarController.h

    r11993 r11998  
    5757
    5858- (NSString *) searchString;
     59- (void) focusSearchField;
    5960
    6061- (void) setCountAll: (NSUInteger) all active: (NSUInteger) active downloading: (NSUInteger) downloading
  • trunk/macosx/FilterBarController.m

    r11996 r11998  
    188188}
    189189
     190- (void) focusSearchField
     191{
     192    [[[self view] window] makeFirstResponder: fSearchField];
     193}
     194
    190195- (void) setSearchType: (id) sender
    191196{
Note: See TracChangeset for help on using the changeset viewer.