mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-17 11:22:28 +12:00
Fix bug in worldModel
Because of this bug treeView could not properly hide the columns
This commit is contained in:
parent
dc9d67e889
commit
42bda30331
|
@ -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()
|
||||
|
||||
###############################################################################
|
||||
|
|
Loading…
Reference in a new issue