Fix crash with full view source (#10560 and #10617)

This commit is contained in:
Guillaume MM 2017-05-02 01:36:23 +02:00 committed by Juergen Spitzmueller
parent 1c07c0dc38
commit ba5e8c443e
2 changed files with 3 additions and 0 deletions

View File

@ -3810,6 +3810,7 @@ auto_ptr<TexRow> Buffer::getSourceCode(odocstream & os, string const & format,
otexstream ots(os, *texrow); otexstream ots(os, *texrow);
if (master) if (master)
runparams.is_child = true; runparams.is_child = true;
updateBuffer();
writeLaTeXSource(ots, string(), runparams, output); writeLaTeXSource(ots, string(), runparams, output);
texrow->finalize(); texrow->finalize();
} }

View File

@ -58,6 +58,8 @@ What's new
- Fix crash occurring in certain circumstances when previewing the source - Fix crash occurring in certain circumstances when previewing the source
of a single paragraph containing a language switch (bug 10636). of a single paragraph containing a language switch (bug 10636).
- Fix crash when closing master file with full view source open (bug 10560).
- Remove duplicate entries from the Symbols dialog (bug 10644). - Remove duplicate entries from the Symbols dialog (bug 10644).
- Always show the float type in the float inset label (bug 10618). - Always show the float type in the float inset label (bug 10618).