mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
Fix #7274.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37423 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c3ed49dd92
commit
5dcac0b5c5
@ -245,7 +245,8 @@ static bool doInsertInset(Cursor & cur, Text * text,
|
||||
if (edit)
|
||||
inset->edit(cur, true);
|
||||
// Now put this into inset
|
||||
cur.text()->insertStringAsLines(cur, ds, Font(inherit_font));
|
||||
Font const f(inherit_font, cur.current_font.language());
|
||||
cur.text()->insertStringAsLines(cur, ds, f);
|
||||
cur.leaveInset(*inset);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user