mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
If a master is being created at loading the child, un-hide it.
Fixes: #11162
(cherry picked from commit a368439bcc
)
This commit is contained in:
parent
5133026b01
commit
4a8b508d40
@ -1052,6 +1052,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()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -70,6 +70,8 @@ What's new
|
||||
|
||||
- GuiCitation: Don't reset filter on show (bug 11291).
|
||||
|
||||
- If a master is being created at loading the child, un-hide it (bug 11162).
|
||||
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user