Document tree is now refreshed when status colours change

This commit is contained in:
Veronica K. B. Olsen
2019-05-19 22:20:54 +02:00
parent edb6c41788
commit fdd9c58235
4 changed files with 26 additions and 13 deletions
+7
View File
@@ -430,6 +430,13 @@ class NWProject():
# Class Methods
##
def deleteItem(self, tHandle):
"""This only removed the item from the order list, but not from the project tree.
"""
self.treeOrder.remove(tHandle)
self.setProjectChanged(True)
return True
def findRootItem(self, theClass):
for aRoot in self.treeRoots:
if theClass == self.projTree[aRoot].itemClass: