Changeset 12774


Ignore:
Timestamp:
Aug 28, 2011, 12:26:39 AM (7 years ago)
Author:
livings124
Message:

remember selected transfers when updating the queue order over rpd

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r12773 r12774  
    42344234        [torrent update];
    42354235   
     4236    NSArray * selectedValues = [fTableView selectedValues];
     4237   
    42364238    NSSortDescriptor * descriptor = [[NSSortDescriptor alloc] initWithKey: @"queuePosition" ascending: YES];
    42374239    NSArray * descriptors = [NSArray arrayWithObject: descriptor];
     
    42414243   
    42424244    [self fullUpdateUI];
     4245   
     4246    [fTableView selectValues: selectedValues];
    42434247}
    42444248
  • trunk/macosx/Torrent.m

    r12773 r12774  
    283283}
    284284
    285 -(void) setPreviousFinishedPieces: (NSIndexSet *) indexes
     285- (void) setPreviousFinishedPieces: (NSIndexSet *) indexes
    286286{
    287287    [fPreviousFinishedIndexes release];
Note: See TracChangeset for help on using the changeset viewer.