Added document split dialog and associated code

This commit is contained in:
Veronica K. B. Olsen committed 2020-02-04 23:59:00 +01:00
1 parent 068674e63d
commit c43e121389
6 files changed
+275 -9

No files matched your search

+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