diff --git a/tscat_gui/tscat_driver/tscat_root_model.py b/tscat_gui/tscat_driver/tscat_root_model.py index 33ee9d2..31225bf 100644 --- a/tscat_gui/tscat_driver/tscat_root_model.py +++ b/tscat_gui/tscat_driver/tscat_root_model.py @@ -207,7 +207,7 @@ def rowCount(self, parent: Union[QModelIndex, QPersistentModelIndex] = QModelInd else: return len(parent_node.children) - def columnCount(self, parent: Union[QModelIndex, QPersistentModelIndex]) -> int: # type: ignore + def columnCount(self, parent: Union[QModelIndex, QPersistentModelIndex] = None) -> int: # type: ignore return 1 def data(self, index: Union[QModelIndex, QPersistentModelIndex],