diff --git a/gramps/gui/plug/report/_styleeditor.py b/gramps/gui/plug/report/_styleeditor.py index dd55ed919..4571ceb84 100644 --- a/gramps/gui/plug/report/_styleeditor.py +++ b/gramps/gui/plug/report/_styleeditor.py @@ -193,8 +193,8 @@ class StyleListDisplay(ManagedWindow): #------------------------------------------------------------------------ class StyleEditor(ManagedWindow): """ - Edits the current style definition. Presents a dialog allowing the values - of the paragraphs in the style to be altered. + Edits the current style definition. + Presents a dialog allowing the values in the style to be altered. """ def __init__(self, name, style, parent): @@ -338,7 +338,12 @@ class StyleEditor(ManagedWindow): self.pname.set_use_markup(True) descr = g.get_description() - self.pdescription.set_text(descr or _("No description available")) + descr = descr or _("No description available") + p_style = g.get_paragraph_style() + if p_style: + para_note = _("(Embedded style '%s' must be edited separately)") + descr += '\n\n' + para_note % p_style + self.pdescription.set_text(descr) self.top.get_object("line_style").set_active(g.get_line_style()) self.top.get_object("line_width").set_value(g.get_line_width())