mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
We don't need to reload a dirty file. Fixes #11788.
This commit is contained in:
parent
0786b80828
commit
e31eadfd37
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user