Document tree is now refreshed when status colours change

This commit is contained in:
Veronica K. B. Olsen committed 2019-05-19 22:20:54 +02:00
1 parent edb6c41788
commit fdd9c58235
4 files changed
+26 -13

No files matched your search

+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: