#2798 Disable "Verify Local Data" for magnetized transfers
This commit is contained in:
parent
25e3227c89
commit
bf2a6d8f09
|
@ -3902,7 +3902,15 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
|||
|
||||
//enable reset cache item
|
||||
if (action == @selector(verifySelectedTorrents:))
|
||||
return canUseTable && [fTableView numberOfSelectedRows] > 0;
|
||||
{
|
||||
if (!canUseTable)
|
||||
return NO;
|
||||
|
||||
for (Torrent * torrent in [fTableView selectedTorrents])
|
||||
if (![torrent isMagnet])
|
||||
return YES;
|
||||
return NO;
|
||||
}
|
||||
|
||||
//enable move torrent file item
|
||||
if (action == @selector(moveDataFilesSelected:))
|
||||
|
|
Loading…
Reference in New Issue