get the "only check selected" item working

This commit is contained in:
Mitchell Livingston 2007-06-24 15:23:52 +00:00
parent 90210dd95d
commit 714a43d242
1 changed files with 1 additions and 2 deletions

View File

@ -914,7 +914,6 @@
}
else if ([ident isEqualToString: @"Priority"])
{
#warning consider hidden
Torrent * torrent = [fTorrents objectAtIndex: 0];
NSIndexSet * indexSet = [item objectForKey: @"Indexes"];
@ -1045,7 +1044,7 @@
[torrent setFileCheckState: NSOnState forIndexes: itemIndexes];
NSMutableIndexSet * remainingItemIndexes = [NSMutableIndexSet indexSetWithIndexesInRange: NSMakeRange(0, [torrent fileCount])];
[remainingItemIndexes removeIndexes: indexSet];
[remainingItemIndexes removeIndexes: itemIndexes];
[torrent setFileCheckState: NSOffState forIndexes: remainingItemIndexes];
[fFileOutline reloadData];