git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37423 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-02-02 16:43:02 +00:00
parent c3ed49dd92
commit 5dcac0b5c5

View File

@ -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;
}