diff --git a/nw/gui/doctree.py b/nw/gui/doctree.py index 38135ec5..c35d443c 100644 --- a/nw/gui/doctree.py +++ b/nw/gui/doctree.py @@ -296,7 +296,7 @@ class GuiDocTree(QTreeWidget): def buildTree(self): self.clear() - for tHandle in self.theProject.projTree: + for tHandle in self.theProject.treeOrder: nwItem = self.theProject.projTree[tHandle] self._addTreeItem(nwItem) return True