mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Fix typo that caused no problems with PyQT4 but does wth PyQt5
This commit is contained in:
parent
a6710e6411
commit
a002f7f465
@ -196,7 +196,7 @@ class FieldsModel(QAbstractListModel): # {{{
|
||||
return None
|
||||
|
||||
def flags(self, index):
|
||||
ans = QAbstractTableModel.flags(self, index)
|
||||
ans = QAbstractListModel.flags(self, index)
|
||||
return ans | Qt.ItemIsUserCheckable
|
||||
|
||||
def restore_defaults(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user