From ba5e8c443e5610bf967ca0d9827d91fc8a6094d2 Mon Sep 17 00:00:00 2001 From: Guillaume MM Date: Tue, 2 May 2017 01:36:23 +0200 Subject: [PATCH] Fix crash with full view source (#10560 and #10617) --- src/Buffer.cpp | 1 + status.22x | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 7b1f1698e3..e3cd6ac24c 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -3810,6 +3810,7 @@ auto_ptr 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 21afca7697..c48eb529a7 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).