This commit is contained in:
Kovid Goyal 2015-04-29 07:04:21 +05:30
parent c5906fa0b9
commit 4b2d60348c

View File

@ -251,7 +251,10 @@ class BooksModel(QAbstractTableModel): # {{{
col))
def is_custom_column(self, cc_label):
return cc_label in self.custom_columns
try:
return cc_label in self.custom_columns
except AttributeError:
return False
def read_config(self):
pass