mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
configure: Minor change.
This commit is contained in:
1 parent
6ef92b94d6
commit
c87eaae516
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user