diff --git a/src/calibre/gui2/book_details.py b/src/calibre/gui2/book_details.py index a468bd6e44..6ad1aaf0c4 100644 --- a/src/calibre/gui2/book_details.py +++ b/src/calibre/gui2/book_details.py @@ -56,8 +56,11 @@ def render_html(mi, css, vertical, widget, all_fields=False): # {{{ '''%(f, c, css) + fm = getattr(mi, 'field_metadata', field_metadata) + fl = dict(get_field_list(fm)) + show_comments = (all_fields or fl.get('comments', True)) comments = u'' - if mi.comments: + if mi.comments and show_comments: comments = comments_to_html(force_unicode(mi.comments)) right_pane = u'
%s
'%comments