resorted SvTreeLists munged horribly

e.g. tools->options->paths, click the sort icon, reclick it few
times and the list doesn't reverse but instead shows the
same two entries over and over again.

Regression since fb01d8e132

Change-Id: Ifc151ad72a27f1cdc3141e356ad6d100e6219cc2
This commit is contained in:
Caolán McNamara 2013-02-10 21:34:31 +00:00
parent efa0451d8e
commit dde8e26608

View file

@ -1554,6 +1554,7 @@ void SvTreeList::ResortChildren( SvTreeListEntry* pParent )
// Recursively sort child entries.
ResortChildren(p);
}
SetListPositions(pParent->maChildren); // correct list position in target list
}
void SvTreeList::GetInsertionPos( SvTreeListEntry* pEntry, SvTreeListEntry* pParent,