1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 06:37:17 +00:00

Fixed renaming in results.

This commit is contained in:
Virgil Dupras
2010-02-12 13:52:40 +01:00
parent 33d44d4d24
commit c3a972d39b
3 changed files with 19 additions and 1 deletions

View File

@@ -92,6 +92,12 @@ class ResultTree(GUIObject, Tree):
else:
return node.data[column]
def rename_selected(self, newname):
node = self.selected_node
node._data = None
node._data_delta = None
return self.app.rename_selected(newname)
def root_children_counts(self):
# This is a speed optimization for cases where there's a lot of results so that there is
# not thousands of children_count queries when expandAll is called.