Remove useless Revision's attribute: 'revision'.
This commit is contained in:
parent
e790778f6a
commit
0ccae70238
2 changed files with 1 additions and 2 deletions
|
|
@ -232,7 +232,7 @@ class MainWindow(QtMainWindow):
|
|||
|
||||
# we set the flags to Qt.ItemIsEnabled so that the items
|
||||
# are not modifiable (they are modifiable by default)
|
||||
item_revision = QTableWidgetItem(revision.revision)
|
||||
item_revision = QTableWidgetItem(revision.id)
|
||||
item_revision.setFlags(Qt.ItemIsEnabled)
|
||||
|
||||
item_time = QTableWidgetItem(revision.timestamp.strftime('%Y-%m-%d %H:%M:%S'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue