Changeset 12688


Ignore:
Timestamp:
Aug 16, 2011, 2:31:53 AM (10 years ago)
Author:
livings124
Message:

#4425 add window's verification progress bar doesn't consistently auto-hide

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/AddWindowController.m

    r12612 r12688  
    272272   
    273273    if ([fTorrent isChecking])
    274     {
     274    {NSLog(@"start");
    275275        const BOOL waiting = [fTorrent isCheckingWaiting];
    276276        [fVerifyIndicator setIndeterminate: waiting];
     
    280280        [fVerifyIndicator startAnimation: self];
    281281    }
    282     else
     282    else {
     283        [fVerifyIndicator setIndeterminate: YES]; //we want to hide when stopped, which only applies when indeterminate
    283284        [fVerifyIndicator stopAnimation: self];
     285    }
    284286}
    285287
Note: See TracChangeset for help on using the changeset viewer.