Only refresh project tree values when status labels change

This commit is contained in:
Veronica Berglyd Olsen
2024-07-25 20:39:32 +02:00
parent 3bffaa01dc
commit 06aa2e6c07
6 changed files with 82 additions and 67 deletions
+4
View File
@@ -186,6 +186,10 @@ def testGuiProjTree_NewItems(qtbot, caplog, monkeypatch, nwGUI, projPath, mockRn
# Adding an invalid item directly to the tree should also fail
assert projTree._addTreeItem(None) is None
# Setting values for a non-existing tree item should be handled
projTree.setTreeItemValues(None)
projTree.setTreeItemValues(C.hInvalid) # The function used to take handles
# Clean up
# qtbot.stop()
nwGUI.closeProject()