Tree must be built from list treeOrder, not the dict keys on python 3.5
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user