mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 22:10:58 +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
ec403f1296
commit
b5d13a91db
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 */
|
/* Invert the sort direction when the same column header is clicked twice */
|
||||||
if ([[newMainSortDescriptor key] isEqual: [oldMainSortDescriptor key]])
|
if ([[newMainSortDescriptor key] isEqual: [oldMainSortDescriptor key]])
|
||||||
{
|
{
|
||||||
newMainSortDescriptor = [newMainSortDescriptor reversedSortDescriptor];
|
newMainSortDescriptor = [oldMainSortDescriptor reversedSortDescriptor];
|
||||||
}
|
}
|
||||||
|
|
||||||
[newSortDescriptors removeObjectsInArray: outdatedDescriptors];
|
[newSortDescriptors removeObjectsInArray: outdatedDescriptors];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue