mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
If a master is being created at loading the child, un-hide it.
Fixes: #11162
This commit is contained in:
parent
c7496a11b2
commit
a368439bcc
@ -1041,6 +1041,10 @@ bool Buffer::readDocument(Lexer & lex)
|
||||
<< absFileName()
|
||||
<< ") does not include "
|
||||
"this document. Ignoring the master assignment.");
|
||||
// If the master has just been created, un-hide it (#11162)
|
||||
if (!master->fileName().exists())
|
||||
lyx::dispatch(FuncRequest(LFUN_BUFFER_SWITCH,
|
||||
master->absFileName()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user