mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
Fix Bug-3183 by Ozgur Ugras BARAN:
* checkBufferStructure(): Fix unnumbered toc entries that do not update automatically as you type. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18768 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8561f4f2ca
commit
d00d823352
@ -709,8 +709,7 @@ void updateLabels(Buffer const & buf, bool childonly)
|
||||
|
||||
void checkBufferStructure(Buffer & buffer, ParIterator const & par_it)
|
||||
{
|
||||
if (par_it->layout()->labeltype == LABEL_COUNTER
|
||||
&& par_it->layout()->toclevel != Layout::NOT_IN_TOC) {
|
||||
if (par_it->layout()->toclevel != Layout::NOT_IN_TOC) {
|
||||
Buffer * master = buffer.getMasterBuffer();
|
||||
master->tocBackend().updateItem(par_it);
|
||||
master->structureChanged();
|
||||
|
Loading…
Reference in New Issue
Block a user