mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
only update and sort by group when filtering, not during normal sorting
This commit is contained in:
@@ -316,8 +316,8 @@
|
||||
[indexSet addIndex: i];
|
||||
else
|
||||
{
|
||||
unsigned nextGroup = [fGroupIndexes indexGreaterThanIndex: i],
|
||||
count = (nextGroup != NSNotFound ? nextGroup : [fTorrents count]) - i - 1 ;
|
||||
NSUInteger nextGroup = [fGroupIndexes indexGreaterThanIndex: i],
|
||||
count = (nextGroup != NSNotFound ? nextGroup : [fTorrents count]) - i - 1;
|
||||
[indexSet addIndexesInRange: NSMakeRange(i+1, count)];
|
||||
i = nextGroup-1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user