Add test coverage of the gui project tree

This commit is contained in:
Veronica Berglyd Olsen
2024-11-24 18:39:23 +01:00
parent 32d899dbfb
commit 0449cf824d
6 changed files with 910 additions and 965 deletions
+1 -2
View File
@@ -419,8 +419,7 @@ class _FilterTab(NFixedPage):
logger.debug("Building project tree")
self._treeMap = {}
self.optTree.clear()
for node in SHARED.project.tree.model.root.allChildren():
nwItem = node.item
for nwItem in SHARED.project.tree:
tHandle = nwItem.itemHandle
pHandle = nwItem.itemParent
rHandle = nwItem.itemRoot