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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user