diff --git a/forms/mainwindow.py b/forms/mainwindow.py --- a/forms/mainwindow.py +++ b/forms/mainwindow.py @@ -51,6 +51,8 @@ class CustomTableModel(QtCore.QAbstractT def headerData(self, section, orientation, role=QtCore.Qt.DisplayRole): if orientation == QtCore.Qt.Horizontal and role == QtCore.Qt.DisplayRole: return QtCore.QVariant(self.headers[section]) + elif orientation == QtCore.Qt.Vertical and role == QtCore.Qt.DisplayRole: + return QtCore.QVariant(section) return super().headerData(section, orientation, role) def rowCount(self, parent=None): diff --git a/ui/format_dialog.ui b/ui/format_dialog.ui --- a/ui/format_dialog.ui +++ b/ui/format_dialog.ui @@ -32,7 +32,11 @@ - + + + 999 + +