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):
|
def buildTree(self):
|
||||||
self.clear()
|
self.clear()
|
||||||
for tHandle in self.theProject.projTree:
|
for tHandle in self.theProject.treeOrder:
|
||||||
nwItem = self.theProject.projTree[tHandle]
|
nwItem = self.theProject.projTree[tHandle]
|
||||||
self._addTreeItem(nwItem)
|
self._addTreeItem(nwItem)
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user