[qcookboob] integration of author field
This commit is contained in:
parent
d391d1a2d8
commit
a51b63148d
2 changed files with 43 additions and 1 deletions
|
|
@ -61,6 +61,10 @@ class Recipe(QFrame):
|
|||
self.ui.ingredientsPlain.setPlainText('%s' % txt)
|
||||
else:
|
||||
self.ui.ingredientsPlain.parent().hide()
|
||||
if not empty(recipe.author):
|
||||
self.ui.authorLabel.setText('%s' % recipe.author)
|
||||
else:
|
||||
self.ui.authorLabel.parent().hide()
|
||||
if not empty(recipe.instructions):
|
||||
self.ui.instructionsPlain.setPlainText('%s' % recipe.instructions)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue