Count words when saving editor text

This commit is contained in:
Veronica K. B. Olsen
2020-10-11 20:34:51 +02:00
parent 4a47be89de
commit 710ad598d9
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -241,7 +241,8 @@ class GuiProjectTree(QTreeWidget):
# Add the new item to the tree
if tHandle is not None:
self.revealNewTreeItem(tHandle, nHandle)
self.theParent.editItem(tHandle)
if self.mainConf.showGUI:
self.theParent.editItem(tHandle)
return True