Fix: InvisibleRootItem is no longer a subclass of QTreeWidgetItem
The __getattr__ method is supposed to wrap attributes from the internal TreeWidgetItem, but this was broken because the superclass had already implemented these.
This commit is contained in:
parent
4880b5849b
commit
8a882b516a
@ -350,7 +350,7 @@ class TreeWidgetItem(QtGui.QTreeWidgetItem):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
class InvisibleRootItem(QtGui.QTreeWidgetItem):
|
class InvisibleRootItem(object):
|
||||||
"""Wrapper around a TreeWidget's invisible root item that calls
|
"""Wrapper around a TreeWidget's invisible root item that calls
|
||||||
TreeWidget.informTreeWidgetChange when child items are added/removed.
|
TreeWidget.informTreeWidgetChange when child items are added/removed.
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user