Performance improvement when reversing the order of a column

svn: r14231
This commit is contained in:
Nick Hall 2010-02-05 19:15:00 +00:00
parent 538d5794d5
commit 6c7fcf4607

View File

@ -647,6 +647,7 @@ class TreeBaseModel(gtk.GenericTreeModel):
path = self.on_get_path(node)
iter = self.get_iter(path)
self.rows_reordered(path, iter, rows)
if self.nrgroups > 1:
for child in node.children:
self._reverse_level(self.nodemap.node(child[1]))