mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix obvious oversight.
This commit is contained in:
parent
f1d1c06174
commit
967e0db9e0
@ -235,7 +235,7 @@ docstring InsetTOC::xhtml(XHTMLStream &, OutputParams const & op) const
|
||||
LASSERT(false, return docstring());
|
||||
}
|
||||
|
||||
Toc const & toc = buffer().tocBackend().toc(cmd2type(command));
|
||||
Toc const & toc = buffer().masterBuffer()->tocBackend().toc(cmd2type(command));
|
||||
if (toc.empty())
|
||||
return docstring();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user