Merge pull request #810 from vkbo/wcount_when_delete

Update project word count when a file is permanently deleted
This commit is contained in:
Veronica Berglyd Olsen
2021-06-13 16:57:31 +02:00
committed by GitHub
+1
View File
@@ -529,6 +529,7 @@ class GuiProjectTree(QTreeWidget):
self.theIndex.deleteHandle(tHandle)
self._deleteTreeItem(tHandle)
self._setTreeChanged(True)
self.projectWordCount()
else:
# The file is not already in the trash folder, so we