mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Use copy
This commit is contained in:
parent
1888a2ccb5
commit
6adb083384
@ -326,7 +326,7 @@ static bool doInsertInset(Cursor & cur, Text * text,
|
||||
if (inset_text) {
|
||||
Font const & font = inset->inheritFont()
|
||||
? cur.bv().textMetrics(text).displayFont(cur.pit(), cur.pos())
|
||||
: buffer.params().getFont();
|
||||
: bparams.getFont();
|
||||
inset_text->setOuterFont(cur.bv(), font.fontInfo());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user