mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +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,
|
||||
onlyPath(absFileName()));
|
||||
if (isLyXFileName(master_file.absFileName())) {
|
||||
|
Loading…
Reference in New Issue
Block a user