Changeset 11997


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

make sure filter buttons' tooltips are updated when the bar is shown

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r11993 r11997  
    20652065   
    20662066    //set button tooltips
    2067     [fFilterBar setCountAll: [fTorrents count] active: active downloading: downloading seeding: seeding paused: paused];
     2067    if (fFilterBar)
     2068        [fFilterBar setCountAll: [fTorrents count] active: active downloading: downloading seeding: seeding paused: paused];
    20682069   
    20692070    //clear display cache for not-shown torrents
     
    29002901        [[NSUserDefaults standardUserDefaults] setObject: FILTER_NONE forKey: @"Filter"];
    29012902        [[NSUserDefaults standardUserDefaults] setInteger: GROUP_FILTER_ALL_TAG forKey: @"FilterGroup"];
    2902         [self applyFilter];
    2903     }
     2903    }
     2904   
     2905    [self applyFilter]; //do even if showing to ensure tooltips are updated
    29042906}
    29052907
Note: See TracChangeset for help on using the changeset viewer.