diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-02-10 21:34:31 +0000 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-02-11 08:51:08 +0000 |
commit | 4ded3c56534770e76108befec0d25c9db9e25f16 (patch) | |
tree | 1f2444ff3c879917001b3cde773ceb7384b7426a /svtools | |
parent | bf9157f9cc26446f0c25e85393fbe3a7603455d2 (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
(cherry picked from commit dde8e266084c89860a9a91f2a29ac31b730a9c4a)
Reviewed-on: https://gerrit.libreoffice.org/2093
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
Diffstat (limited to 'svtools')
-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 d0125f45efa5..43968c5e70f5 100644 --- a/svtools/source/contnr/treelist.cxx +++ b/svtools/source/contnr/treelist.cxx @@ -1583,6 +1583,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, |