Add test coverage of the project tree
This commit is contained in:
@@ -3013,7 +3013,7 @@ class GuiDocEditHeader(QWidget):
|
||||
|
||||
if CONFIG.showFullPath:
|
||||
self.itemTitle.setText(f" {nwUnicode.U_RSAQUO} ".join(reversed(
|
||||
[name for name in SHARED.project.tree.getItemPath(tHandle, asName=True)]
|
||||
[name for name in SHARED.project.tree.itemPath(tHandle, asName=True)]
|
||||
)))
|
||||
else:
|
||||
self.itemTitle.setText(i.itemName if (i := SHARED.project.tree[tHandle]) else "")
|
||||
|
||||
Reference in New Issue
Block a user