Changeset 11885


Ignore:
Timestamp:
Feb 13, 2011, 2:14:21 AM (11 years ago)
Author:
livings124
Message:

remove selected transfers when removing completed transfers, removing through RPC, etc. (whenever removing transfers that aren't the selected transfers)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r11884 r11885  
    14081408- (void) confirmRemoveTorrents: (NSArray *) torrents deleteData: (BOOL) deleteData
    14091409{
     1410    NSMutableArray * selectedValues = [NSMutableArray arrayWithArray: [fTableView selectedValues]];
     1411    [selectedValues removeObjectsInArray: torrents];
     1412   
    14101413    //don't want any of these starting then stopping
    14111414    for (Torrent * torrent in torrents)
     
    14371440    [torrents release];
    14381441   
    1439     [fTableView deselectAll: nil];
     1442    [fTableView selectValues: selectedValues];
    14401443   
    14411444    [self updateTorrentsInQueue];
Note: See TracChangeset for help on using the changeset viewer.