Ignore:
Timestamp:
Jun 23, 2007, 3:14:37 PM (15 years ago)
Author:
livings124
Message:
  • allow to recheck cache even when torrent is active
  • play around with the priority color
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r2169 r2188  
    13071307        [torrent resetCache];
    13081308    }
     1309    #warning reset queue?
    13091310}
    13101311
     
    28592860    //enable reset cache item
    28602861    if (action == @selector(resetCacheForSelectedTorrents:))
    2861     {
    2862         if (!canUseTable)
    2863             return NO;
    2864        
    2865         NSEnumerator * enumerator = [[fDisplayedTorrents objectsAtIndexes: [fTableView selectedRowIndexes]] objectEnumerator];
    2866         Torrent * torrent;
    2867         while ((torrent = [enumerator nextObject]))
    2868         {
    2869             if (![torrent isActive])
    2870                 return YES;
    2871         }
    2872         return NO;
    2873     }
     2862        return canUseTable && [fTableView numberOfSelectedRows] > 0;
    28742863   
    28752864    //enable move torrent file item
Note: See TracChangeset for help on using the changeset viewer.