Kaydet (Commit) dde8e266 authored tarafından Caolán McNamara's avatar Caolán McNamara

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 fb01d8e1

Change-Id: Ifc151ad72a27f1cdc3141e356ad6d100e6219cc2
üst efa0451d
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment