]> git.lyx.org Git - features.git/commitdiff
Fix crash with full view source (#10560 and #10617)
authorGuillaume MM <gm@lyx.org>
Mon, 1 May 2017 23:36:23 +0000 (01:36 +0200)
committerGuillaume MM <gm@lyx.org>
Sat, 6 May 2017 22:07:24 +0000 (00:07 +0200)
src/Buffer.cpp

index 58de3b5a922d01630545cca1d9078d04a1d94dee..b1ed2f582f6232293055990994e4551cf6a819bd 100644 (file)
@@ -3949,6 +3949,7 @@ unique_ptr<TexRow> Buffer::getSourceCode(odocstream & os, string const & format,
                        ots.texrow().newlines(2);
                        if (master)
                                runparams.is_child = true;
+                       updateBuffer();
                        writeLaTeXSource(ots, string(), runparams, output);
                        texrow = ots.releaseTexRow();
                }