mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Fix bug #6712: LyX 2 does not restore encoding after a text inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34456 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3d91ff0e40
commit
604ed2571f
@ -405,6 +405,7 @@ int InsetText::latex(odocstream & os, OutputParams const & runparams) const
|
||||
TexRow texrow;
|
||||
latexParagraphs(buffer(), text_, os, texrow, rp);
|
||||
rows += texrow.rows();
|
||||
runparams.encoding = rp.encoding;
|
||||
|
||||
if (!il.latexname().empty()) {
|
||||
if (il.latextype() == InsetLayout::COMMAND) {
|
||||
|
Loading…
Reference in New Issue
Block a user