mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix bug that was preventing custom recipes from working correctly.
This commit is contained in:
parent
2a992bb981
commit
549c3991de
@ -70,6 +70,8 @@ class CustomNewMenuItem(QAction):
|
|||||||
QAction.__init__(self, QIcon(':/images/user_profile.svg'), title, parent)
|
QAction.__init__(self, QIcon(':/images/user_profile.svg'), title, parent)
|
||||||
self.title = title
|
self.title = title
|
||||||
self.recipe = compile_recipe(script)
|
self.recipe = compile_recipe(script)
|
||||||
|
print self.recipe.title
|
||||||
|
print script
|
||||||
self.recipe.gui_recipe_script = script
|
self.recipe.gui_recipe_script = script
|
||||||
|
|
||||||
class CustomNewsMenu(QMenu):
|
class CustomNewsMenu(QMenu):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user