Changeset 618


Ignore:
Timestamp:
Jul 16, 2006, 6:49:38 PM (15 years ago)
Author:
livings124
Message:

Lose focus before hiding to avoid weird overlay on status bar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r617 r618  
    15741574- (void) toggleFilterBar: (id) sender
    15751575{
     1576    //first make search filter lose focus
     1577    if (fFilterBarVisible)
     1578        [fWindow makeFirstResponder: fTableView];
     1579
    15761580    [self showFilterBar: !fFilterBarVisible animate: YES];
    15771581    [fDefaults setBool: fFilterBarVisible forKey: @"FilterBar"];
     
    15801584    if (!fFilterBarVisible)
    15811585    {
    1582         [fWindow makeFirstResponder: fTableView];
    15831586        [fSearchFilterField setStringValue: @""];
    1584        
    15851587        [self setFilter: fNoFilterButton];
    15861588    }
Note: See TracChangeset for help on using the changeset viewer.