Changeset 10008


Ignore:
Timestamp:
Jan 23, 2010, 9:51:04 PM (12 years ago)
Author:
livings124
Message:

#2798 Disable "Verify Local Data" for magnetized transfers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r9998 r10008  
    39033903    //enable reset cache item
    39043904    if (action == @selector(verifySelectedTorrents:))
    3905         return canUseTable && [fTableView numberOfSelectedRows] > 0;
     3905    {
     3906        if (!canUseTable)
     3907            return NO;
     3908           
     3909        for (Torrent * torrent in [fTableView selectedTorrents])
     3910            if (![torrent isMagnet])
     3911                return YES;
     3912        return NO;
     3913    }
    39063914   
    39073915    //enable move torrent file item
Note: See TracChangeset for help on using the changeset viewer.