summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-02-10 21:34:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-02-10 21:37:25 +0000
commitdde8e266084c89860a9a91f2a29ac31b730a9c4a (patch)
tree1744617666e39fcb7a5ff9a3802019feacffe7e0 /svtools
parentefa0451d8eab878812e2bbacc4319d7490d0f333 (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
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/treelist.cxx1
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,