diff --git a/superscore/widgets/tree.py b/superscore/widgets/tree.py index 89300ba..f547547 100644 --- a/superscore/widgets/tree.py +++ b/superscore/widgets/tree.py @@ -286,7 +286,7 @@ def index( self, row: int, column: int, - parent: QtCore.QModelIndex = None + parent: QtCore.QModelIndex = QtCore.QModelIndex() ) -> QtCore.QModelIndex: """ Returns the index of the item in the model.