commit e35110eab7a540deaf8dc52483f1e5a55a773f46 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Tue Jul 19 22:29:57 2016 +0200
Realize inset argument label font before using it --- src/insets/InsetCollapsable.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/insets/InsetCollapsable.cpp b/src/insets/InsetCollapsable.cpp index 520d902..668a918 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