commit ba5e8c443e5610bf967ca0d9827d91fc8a6094d2
Author: Guillaume MM <[email protected]>
Date:   Tue May 2 01:36:23 2017 +0200

    Fix crash with full view source (#10560 and #10617)
---
 src/Buffer.cpp |    1 +
 status.22x     |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 7b1f169..e3cd6ac 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -3810,6 +3810,7 @@ auto_ptr<TexRow> Buffer::getSourceCode(odocstream & os, 
string const & format,
                        otexstream ots(os, *texrow);
                        if (master)
                                runparams.is_child = true;
+                       updateBuffer();
                        writeLaTeXSource(ots, string(), runparams, output);
                        texrow->finalize();
                }
diff --git a/status.22x b/status.22x
index 21afca7..c48eb52 100644
--- a/status.22x
+++ b/status.22x
@@ -58,6 +58,8 @@ What's new
 - Fix crash occurring in certain circumstances when previewing the source
   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).
 
 - Always show the float type in the float inset label (bug 10618).

Reply via email to