mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
[#179] Pushed the delete-or-exclude folder down from GUI layers to the core.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user