mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Prevent trackback when no news is scheduled and clicking downloading all scheduled news button.
This commit is contained in:
parent
d1087fa909
commit
b827dea7f1
@ -133,7 +133,7 @@ class RecipeModel(QAbstractItemModel, SearchQueryParser):
|
|||||||
self._map = dict(self.category_map)
|
self._map = dict(self.category_map)
|
||||||
|
|
||||||
def scheduled_recipes(self):
|
def scheduled_recipes(self):
|
||||||
for recipe in self.category_map[_('Scheduled')]:
|
for recipe in self.category_map.get(_('Scheduled'), []):
|
||||||
yield recipe
|
yield recipe
|
||||||
|
|
||||||
def sort_categories(self, x, y):
|
def sort_categories(self, x, y):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user