Added document split dialog and associated code

This commit is contained in:
Veronica K. B. Olsen
2020-02-04 23:59:00 +01:00
parent 068674e63d
commit c43e121389
6 changed files with 275 additions and 9 deletions
+5
View File
@@ -563,6 +563,11 @@ class NWProject():
"""This only removes the item from the order list, but not from
the project tree.
"""
if tHandle not in self.treeOrder:
logger.warning(
"Could not remove item %s from treeOrder as it does not exist" % tHandle
)
return False
self.treeOrder.remove(tHandle)
self.setProjectChanged(True)
return True