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

[#179] Pushed the delete-or-exclude folder down from GUI layers to the core.

This commit is contained in:
Virgil Dupras
2011-11-28 14:52:48 -05:00
parent 3342b32882
commit 756190cb8e
3 changed files with 12 additions and 22 deletions

View File

@@ -208,13 +208,7 @@ class DirectoriesDialog(QMainWindow):
self.app.recentResults.insertItem(destination)
def removeFolderButtonClicked(self):
indexes = self.treeView.selectedIndexes()
if not indexes:
return
index = indexes[0]
node = index.internalPointer()
if node.parent is None:
self.directoriesModel.model.remove_selected()
self.directoriesModel.model.remove_selected()
def scanButtonClicked(self):
if self.app.model.results.is_modified: