Ignore:
Timestamp:
May 20, 2012, 12:19:55 AM (9 years ago)
Author:
livings124
Message:

#4912 Filter and check all/uncheck all in Add Transfer window

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r13292 r13309  
    17601760{
    17611761    CGFloat dlRate = 0.0, ulRate = 0.0;
    1762     BOOL completed = NO;
     1762    BOOL anyCompleted = NO, anyActive = NO;
    17631763    for (Torrent * torrent in fTorrents)
    17641764    {
     
    17691769        ulRate += [torrent uploadRate];
    17701770       
    1771         completed |= [torrent isFinishedSeeding];
     1771        anyCompleted |= [torrent isFinishedSeeding];
     1772        anyActive |= [torrent isActive];
    17721773    }
    17731774   
     
    17801781            [fStatusBar updateWithDownload: dlRate upload: ulRate];
    17811782           
    1782             [fClearCompletedButton setHidden: !completed];
     1783            [fClearCompletedButton setHidden: !anyCompleted];
    17831784        }
    17841785
Note: See TracChangeset for help on using the changeset viewer.