1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Make Cmd+A select all folders in the Folder Selection dialog (Cocoa)

Fixes #228.
This commit is contained in:
Virgil Dupras
2013-11-24 10:12:47 -05:00
parent c34c9562d3
commit c1cfa86ad1
18 changed files with 470 additions and 406 deletions

View File

@@ -91,6 +91,10 @@ class DirectoryTree(Tree, DupeGuruGUIObject):
for node in nodes:
node.state = newstate
def select_all(self):
self.selected_nodes = list(self)
self.view.refresh()
def update_all_states(self):
for node in self:
node.update_all_states()