mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Realize inset argument label font before using it
This commit is contained in:
parent
cf8302b86d
commit
e35110eab7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user