mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +00:00
Fixed sort direction stuck to the reverse of the sort descriptor prototype
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29298 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
668fbe236a
commit
b9306be2f8
1 changed files with 1 additions and 1 deletions
|
@ -5960,7 +5960,7 @@ This method is deprecated, use -columnIndexesInRect:. */
|
|||
/* Invert the sort direction when the same column header is clicked twice */
|
||||
if ([[newMainSortDescriptor key] isEqual: [oldMainSortDescriptor key]])
|
||||
{
|
||||
newMainSortDescriptor = [newMainSortDescriptor reversedSortDescriptor];
|
||||
newMainSortDescriptor = [oldMainSortDescriptor reversedSortDescriptor];
|
||||
}
|
||||
|
||||
[newSortDescriptors removeObjectsInArray: outdatedDescriptors];
|
||||
|
|
Loading…
Reference in a new issue