diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-02-10 21:34:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-02-10 21:37:25 +0000 |
commit | dde8e266084c89860a9a91f2a29ac31b730a9c4a (patch) | |
tree | 1744617666e39fcb7a5ff9a3802019feacffe7e0 | |
parent | efa0451d8eab878812e2bbacc4319d7490d0f333 (diff) |
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
-rw-r--r-- | svtools/source/contnr/treelist.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx index 90a03d290242..307d861c90d6 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, |