mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Do not attempt to set default master if we already have a parent
This commit is contained in:
parent
40de22a629
commit
cb699fbc1c
@ -933,7 +933,7 @@ bool Buffer::readDocument(Lexer & lex)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!params().master.empty()) {
|
if (!parent() && !params().master.empty()) {
|
||||||
FileName const master_file = makeAbsPath(params().master,
|
FileName const master_file = makeAbsPath(params().master,
|
||||||
onlyPath(absFileName()));
|
onlyPath(absFileName()));
|
||||||
if (isLyXFileName(master_file.absFileName())) {
|
if (isLyXFileName(master_file.absFileName())) {
|
||||||
|
Loading…
Reference in New Issue
Block a user