Fix missing signal emission following revision 18693.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18730 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-06-09 22:21:21 +00:00
parent c20baf584c
commit 8865ede57d

View File

@ -705,7 +705,9 @@ void expandToc(Menu & tomenu, Buffer const * buf)
return;
}
const_cast<Buffer*>(buf)->tocBackend().update();
Buffer* cbuf = const_cast<Buffer*>(buf);
cbuf->tocBackend().update();
cbuf->structureChanged();
// Add an entry for the master doc if this is a child doc
Buffer const * const master = buf->getMasterBuffer();