Orphaned files are now put back in the tree, or rejected if nowhere to put them

This commit is contained in:
Veronica K. B. Olsen
2020-12-21 01:28:19 +01:00
parent 1ea12fedb9
commit 6a188a5906
3 changed files with 24 additions and 9 deletions
+5
View File
@@ -294,6 +294,11 @@ class NWTree():
tTree.append(tHandle)
return tTree
def isValid(self, tHandle):
"""Check if a handle exists in the project.
"""
return tHandle in self._treeOrder
##
# Setters
##