Fix missing root when using world building template

This commit is contained in:
Belug 2021-04-20 18:57:36 -04:00
parent fc08e9b740
commit 96a3d282cc

View file

@ -317,7 +317,7 @@ class worldModel(QStandardItemModel, searchableModel):
i = self.addItem(d[0], parent)
addItems(d[1], i)
addItems(data, None)
addItems(data, self.invisibleRootItem())
self.mw.treeWorld.expandAll()
###############################################################################