X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetCollapsable.cpp;h=668a91896ac1704c97cfb480de74d614cef1f626;hb=3d7ede605978461a6bd67b250925fcc8bf8404c3;hp=520d902dcbbc492530fae22d629610049435887a;hpb=f151b932c248f7d78e54c085cd942d0aa9e4c475;p=lyx.git diff --git a/src/insets/InsetCollapsable.cpp b/src/insets/InsetCollapsable.cpp index 520d902dcb..668a91896a 100644 --- a/src/insets/InsetCollapsable.cpp +++ b/src/insets/InsetCollapsable.cpp @@ -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