Skip to content

Commit

Permalink
Fix role id
Browse files Browse the repository at this point in the history
  • Loading branch information
Valerio Viperino committed Apr 22, 2022
1 parent e47aec3 commit 8aec41e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion list-view/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class MyListModel(qtc.QAbstractListModel):
# Our custom roles
NameRole = qtc.Qt.UserRole + 1000
CheckedRole = qtc.Qt.UserRole + 1001
CheckedRole = qtc.Qt.UserRole + 1002

def __init__(self, parent=None):
super(MyListModel, self).__init__(parent)
Expand Down

0 comments on commit 8aec41e

Please sign in to comment.