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)) col))
def is_custom_column(self, cc_label): def is_custom_column(self, cc_label):
try:
return cc_label in self.custom_columns return cc_label in self.custom_columns
except AttributeError:
return False
def read_config(self): def read_config(self):
pass pass