mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
...
This commit is contained in:
parent
d60b1a40d2
commit
4799d6143a
@ -38,7 +38,10 @@ class CustomRecipeModel(QAbstractListModel):
|
||||
return False
|
||||
|
||||
def rowCount(self, *args):
|
||||
try:
|
||||
return len(self.recipe_model.custom_recipe_collection)
|
||||
except:
|
||||
return 0
|
||||
|
||||
def data(self, index, role):
|
||||
if role == Qt.DisplayRole:
|
||||
|
Loading…
x
Reference in New Issue
Block a user