[qcookboob] integration of author field

This commit is contained in:
Julien Veyssier 2013-03-25 02:44:42 +01:00 committed by Florent
commit a51b63148d
2 changed files with 43 additions and 1 deletions

View file

@ -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: