Changeset 669


Ignore:
Timestamp:
Jul 23, 2006, 2:46:13 PM (15 years ago)
Author:
livings124
Message:

Turn off filter before hiding the bar, not the other way around. This should make it more obvious that the filter is turned off.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r668 r669  
    16651665- (void) toggleFilterBar: (id) sender
    16661666{
     1667    //disable filtering when hiding
     1668    if (fFilterBarVisible)
     1669    {
     1670        [fSearchFilterField setStringValue: @""];
     1671        [self setFilter: fNoFilterButton];
     1672    }
     1673
    16671674    [self showFilterBar: !fFilterBarVisible animate: YES];
    16681675    [fDefaults setBool: fFilterBarVisible forKey: @"FilterBar"];
    1669    
    1670     //disable filtering when hiding
    1671     if (!fFilterBarVisible)
    1672     {
    1673         [fSearchFilterField setStringValue: @""];
    1674         [self setFilter: fNoFilterButton];
    1675     }
    16761676}
    16771677
Note: See TracChangeset for help on using the changeset viewer.