From dd372e0ba9dd9183925cdbcce927ee2074b79dad Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Tue, 3 Oct 2023 13:36:32 +0300 Subject: [PATCH] fix #57 --- statapp/models/input_values_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statapp/models/input_values_model.py b/statapp/models/input_values_model.py index 6f5629c..0d770ea 100644 --- a/statapp/models/input_values_model.py +++ b/statapp/models/input_values_model.py @@ -10,7 +10,7 @@ class InputValuesModel(EditableTableModel): super().__init__(data) def getHorizontalHeader(self): - return yx_header(self.rowCount(QModelIndex())) + return yx_header(self.columnCount(QModelIndex())) def getY(self): return self._data[:, 0]