Allow showing all novel files in Outline

This commit is contained in:
Veronica Berglyd Olsen
2022-06-05 18:43:09 +02:00
parent 92924b3288
commit 85f63721e0
3 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -939,7 +939,7 @@ class GuiProjectTree(QTreeWidget):
except Exception:
logger.error("Failed to get index of item with handle '%s'", nHandle)
if byIndex >= 0:
self._treeMap[pHandle].insertChild(byIndex+1, newItem)
self._treeMap[pHandle].insertChild(byIndex + 1, newItem)
else:
self._treeMap[pHandle].addChild(newItem)
self.propagateCount(tHandle, nwItem.wordCount, countChildren=True)