make group sorting on Tiger consistent with Leopard's
This commit is contained in:
parent
b44c0b059c
commit
7dc223d488
|
@ -1724,7 +1724,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
||||||
if (![NSApp isOnLeopardOrBetter] && [fDefaults boolForKey: @"SortByGroup"])
|
if (![NSApp isOnLeopardOrBetter] && [fDefaults boolForKey: @"SortByGroup"])
|
||||||
{
|
{
|
||||||
NSSortDescriptor * groupDescriptor = [[[NSSortDescriptor alloc] initWithKey: @"groupOrderValue"
|
NSSortDescriptor * groupDescriptor = [[[NSSortDescriptor alloc] initWithKey: @"groupOrderValue"
|
||||||
ascending: asc] autorelease];
|
ascending: YES] autorelease];
|
||||||
|
|
||||||
NSMutableArray * temp = [[NSMutableArray alloc] initWithCapacity: [descriptors count]+1];
|
NSMutableArray * temp = [[NSMutableArray alloc] initWithCapacity: [descriptors count]+1];
|
||||||
[temp addObject: groupDescriptor];
|
[temp addObject: groupDescriptor];
|
||||||
|
|
Loading…
Reference in New Issue