From: Jean-Marc Lasgouttes Date: Tue, 19 Jul 2016 20:29:57 +0000 (+0200) Subject: Realize inset argument label font before using it X-Git-Tag: 2.3.0alpha1~1232 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e35110eab7a540deaf8dc52483f1e5a55a773f46;p=lyx.git Realize inset argument label font before using it --- 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