Changeset 14206


Ignore:
Timestamp:
Sep 21, 2013, 4:24:40 PM (9 years ago)
Author:
livings124
Message:

#5494 Filter should reset when bar is hidden

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r14153 r14206  
    36213621    const BOOL show = fFilterBar == nil;
    36223622   
     3623    //disable filtering when hiding (have to do before showFilterBar:animate:)
     3624    if (!show)
     3625        [fFilterBar reset: NO];
     3626   
    36233627    [self showFilterBar: show animate: YES];
    36243628    [fDefaults setBool: show forKey: @"FilterBar"];
    36253629    [[fWindow toolbar] validateVisibleItems];
    3626    
    3627     //disable filtering when hiding
    3628     if (!show)
    3629         [fFilterBar reset: NO];
    36303630   
    36313631    [self applyFilter]; //do even if showing to ensure tooltips are updated
Note: See TracChangeset for help on using the changeset viewer.