mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-11-13 01:57:00 -05: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
|
return None
|
||||||
|
|
||||||
def flags(self, index):
|
def flags(self, index):
|
||||||
ans = QAbstractTableModel.flags(self, index)
|
ans = QAbstractListModel.flags(self, index)
|
||||||
return ans | Qt.ItemIsUserCheckable
|
return ans | Qt.ItemIsUserCheckable
|
||||||
|
|
||||||
def restore_defaults(self):
|
def restore_defaults(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user