From e35110eab7a540deaf8dc52483f1e5a55a773f46 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 19 Jul 2016 22:29:57 +0200 Subject: [PATCH] Realize inset argument label font before using it --- src/insets/InsetCollapsable.cpp | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2