Fix typo that caused no problems with PyQT4 but does wth PyQt5

This commit is contained in:
Kovid Goyal 2014-07-07 07:59:18 +05:30
parent a6710e6411
commit a002f7f465

View File

@ -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):