]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCollapsable.cpp
Clarify that the Dialog::lyxview_ pointer is in fact a reference
[lyx.git] / src / insets / InsetCollapsable.cpp
index 520d902dcbbc492530fae22d629610049435887a..668a91896ac1704c97cfb480de74d614cef1f626 100644 (file)
@@ -244,6 +244,7 @@ void InsetCollapsable::draw(PainterInfo & pi, int x, int y) const
 
                FontInfo labelfont = getLabelfont();
                labelfont.setColor(labelColor());
+               labelfont.realize(pi.base.font);
                pi.pain.buttonText(x, y, buttonLabel(bv), labelfont,
                                   view_[&bv].mouse_hover_);
                // Draw the change tracking cue on the label, unless RowPainter already