Merge pull request #592 from campagnola/treewidget-rootitem-fix

Fix: InvisibleRootItem is no longer a subclass of QTreeWidgetItem
This commit is contained in:
Luke Campagnola 2017-10-05 12:43:31 -07:00 committed by GitHub
commit a43ef0492e

View File

@ -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
TreeWidget.informTreeWidgetChange when child items are added/removed.
"""