Realize inset argument label font before using it

This commit is contained in:
Jean-Marc Lasgouttes 2016-07-19 22:29:57 +02:00
parent cf8302b86d
commit e35110eab7

View 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