commit e31eadfd37f0c5430bafbd410c34591e9053cb3d
Author: Richard Kimberly Heck <[email protected]>
Date: Sun Jan 3 19:58:19 2021 -0500
We don't need to reload a dirty file. Fixes #11788.
---
src/frontends/qt/GuiDocument.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp
index 4223771..9af1eba 100644
--- a/src/frontends/qt/GuiDocument.cpp
+++ b/src/frontends/qt/GuiDocument.cpp
@@ -4930,7 +4930,7 @@ void GuiDocument::dispatchParams()
FileName const master_file =
support::makeAbsPath(params().master,
support::onlyPath(buffer().absFileName()));
if (isLyXFileName(master_file.absFileName())) {
- Buffer * master = checkAndLoadLyXFile(master_file);
+ Buffer * master = checkAndLoadLyXFile(master_file,
true);
if (master) {
if (master->isChild(const_cast<Buffer
*>(&buffer())))
const_cast<Buffer
&>(buffer()).setParent(master);
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs