Fix bug in worldModel

Because of this bug treeView could not properly hide the columns
This commit is contained in:
JackXVII 2018-01-11 22:36:42 +03:00
parent dc9d67e889
commit 42bda30331

View file

@ -14,7 +14,7 @@ from manuskript.ui import style as S
class worldModel(QStandardItemModel):
def __init__(self, parent):
QStandardItemModel.__init__(self, 0, 3, parent)
QStandardItemModel.__init__(self, 0, len(World), parent)
self.mw = mainWindow()
###############################################################################