mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 21:20:38 +00:00
Send the sort message to the data source not the delegate.
This should fix bug #32806. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32624 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9fb7317eef
commit
38c2685a68
3 changed files with 10 additions and 4 deletions
|
@ -6475,10 +6475,10 @@ For a more detailed explanation, -setSortDescriptors:. */
|
|||
|
||||
- (void) _didChangeSortDescriptors: (NSArray *)oldSortDescriptors
|
||||
{
|
||||
if ([_delegate
|
||||
if ([_dataSource
|
||||
respondsToSelector: @selector(tableView:sortDescriptorsDidChange:)])
|
||||
{
|
||||
[_delegate tableView: self sortDescriptorsDidChange: oldSortDescriptors];
|
||||
[_dataSource tableView: self sortDescriptorsDidChange: oldSortDescriptors];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue