mirror of https://gitlab.com/pamhyr/pamhyr2
configure: Minor change.
parent
6ef92b94d6
commit
c87eaae516
|
|
@ -37,7 +37,7 @@ class SolverTableModel(QAbstractTableModel):
|
||||||
|
|
||||||
def headerData(self, section, orientation, role):
|
def headerData(self, section, orientation, role):
|
||||||
if role == Qt.ItemDataRole.DisplayRole and orientation == Qt.Orientation.Horizontal:
|
if role == Qt.ItemDataRole.DisplayRole and orientation == Qt.Orientation.Horizontal:
|
||||||
return self.headers[section]
|
return self.headers[section].capitalize()
|
||||||
|
|
||||||
if role == Qt.ItemDataRole.DisplayRole and orientation == Qt.Orientation.Vertical:
|
if role == Qt.ItemDataRole.DisplayRole and orientation == Qt.Orientation.Vertical:
|
||||||
return section
|
return section
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue