mirror of
https://github.com/pyqt/examples.git
synced 2025-08-28 20:37:39 +00:00
missing parentheses
This commit is contained in:
parent
7069034401
commit
f56b941fc3
@ -35,7 +35,7 @@ class TableModel(QAbstractTableModel):
|
||||
return QVariant()
|
||||
# What's the value of the cell at the given index?
|
||||
return rows[index.row()][index.column()]
|
||||
def headerData(self, section, orientation, role:
|
||||
def headerData(self, section, orientation, role):
|
||||
if role != Qt.DisplayRole or orientation != Qt.Horizontal:
|
||||
return QVariant()
|
||||
# What's the header for the given column?
|
||||
|
Loading…
x
Reference in New Issue
Block a user