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:
Enrico Forestieri 2010-05-22 22:42:32 +00:00
parent 3d91ff0e40
commit 604ed2571f

View File

@ -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) {