Performance improvement when reversing the order of a column
svn: r14231
This commit is contained in:
parent
538d5794d5
commit
6c7fcf4607
@ -647,6 +647,7 @@ class TreeBaseModel(gtk.GenericTreeModel):
|
|||||||
path = self.on_get_path(node)
|
path = self.on_get_path(node)
|
||||||
iter = self.get_iter(path)
|
iter = self.get_iter(path)
|
||||||
self.rows_reordered(path, iter, rows)
|
self.rows_reordered(path, iter, rows)
|
||||||
|
if self.nrgroups > 1:
|
||||||
for child in node.children:
|
for child in node.children:
|
||||||
self._reverse_level(self.nodemap.node(child[1]))
|
self._reverse_level(self.nodemap.node(child[1]))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user