diff --git a/pyqtgraph/widgets/TreeWidget.py b/pyqtgraph/widgets/TreeWidget.py index a37181cf..096227ab 100644 --- a/pyqtgraph/widgets/TreeWidget.py +++ b/pyqtgraph/widgets/TreeWidget.py @@ -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. """