Some completeness in logger output

This commit is contained in:
Veronica K. B. Olsen
2020-06-10 17:19:52 +02:00
parent b88fc2f1ca
commit 29950e34a4
10 changed files with 25 additions and 12 deletions
+4
View File
@@ -525,9 +525,13 @@ class GuiProjectTree(QTreeWidget):
always make sure items with a parent have had their parent item
sent first.
"""
logger.debug("Building project tree ...")
self.clear()
iCount = 0
for nwItem in self.theProject.getProjectItems():
iCount += 1
self._addTreeItem(nwItem)
logger.debug("%d items added to project tree" % iCount)
return True
def getSelectedHandle(self):