mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-27 17:05:53 +00:00
reverse set sort descriptors in CPTableView
This commit is contained in:
1 parent
818bf475f2
commit
50d36e76ac
1 file changed
+4
-1
@@ -2873,7 +2873,7 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5;
|
||||
/*!
|
||||
Sets the table view's CPSortDescriptors objects in an array.
|
||||
|
||||
@param sortDescriptors an array of sort descritors.
|
||||
@param sortDescriptors an array of sort descriptors.
|
||||
*/
|
||||
- (void)setSortDescriptors:(CPArray)sortDescriptors
|
||||
{
|
||||
@@ -2910,6 +2910,9 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5;
|
||||
[self setIndicatorImage:image inTableColumn:newColumn];
|
||||
|
||||
[self _sendDataSourceSortDescriptorsDidChange:oldSortDescriptors];
|
||||
|
||||
var binderClass = [[self class] _binderClassForBinding:@"sortDescriptors"];
|
||||
[[binderClass getBinding:@"sortDescriptors" forObject:self] reverseSetValueFor:@"sortDescriptors"];
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in new issue
Block a user