Changeset 3236


Ignore:
Timestamp:
Sep 29, 2007, 3:23:40 PM (15 years ago)
Author:
livings124
Message:

make sure to update torrent status before applying completeness changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r3224 r3236  
    236236        [[NSNotificationCenter defaultCenter] postNotificationName: @"TorrentStoppedForRatio" object: self];
    237237    }
    238 
     238   
     239    //check if checking data
    239240    BOOL wasChecking = fChecking;
    240241    fChecking = fStat->status == TR_STATUS_CHECK || fStat->status == TR_STATUS_CHECK_WAIT;
     
    16081609}
    16091610
    1610 //status will be retained
     1611//status has been retained
    16111612- (void) completenessChange: (NSNumber *) status
    16121613{
     1614    [self update];
     1615   
    16131616    BOOL canMove;
    16141617    switch ([status intValue])
     
    16541657    }
    16551658    [status release];
    1656    
    1657     [self update];
    16581659}
    16591660
Note: See TracChangeset for help on using the changeset viewer.