mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-01 18:49:38 +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):
|
class worldModel(QStandardItemModel):
|
||||||
def __init__(self, parent):
|
def __init__(self, parent):
|
||||||
QStandardItemModel.__init__(self, 0, 3, parent)
|
QStandardItemModel.__init__(self, 0, len(World), parent)
|
||||||
self.mw = mainWindow()
|
self.mw = mainWindow()
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
Loading…
Reference in a new issue