mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Try to catch some other cases of inappropriate TOC updating in internal bufers.
This commit is contained in:
parent
e7b9aa672f
commit
be19fdee3a
@ -155,6 +155,9 @@ TocBuilder & TocBackend::builder(string const & type)
|
||||
// all TOCs.
|
||||
bool TocBackend::updateItem(DocIterator const & dit_in) const
|
||||
{
|
||||
if (dit_in.buffer() && dit_in.buffer()->isInternal())
|
||||
return false;
|
||||
|
||||
// we need a text
|
||||
DocIterator dit = dit_in.getInnerText();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user