svtools/source/contnr/treelist.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit dde8e266084c89860a9a91f2a29ac31b730a9c4a Author: Caolán McNamara <[email protected]> Date: Sun Feb 10 21:34:31 2013 +0000 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 fb01d8e132ab9097ed30b3bc4c7585622df591ad Change-Id: Ifc151ad72a27f1cdc3141e356ad6d100e6219cc2 diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx index 90a03d2..307d861 100644 --- a/svtools/source/contnr/treelist.cxx +++ b/svtools/source/contnr/treelist.cxx @@ -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,
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
