]> git.lyx.org Git - features.git/commitdiff
Fix missing signal emission following revision 18693.
authorAbdelrazak Younes <younes@lyx.org>
Sat, 9 Jun 2007 22:21:21 +0000 (22:21 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 9 Jun 2007 22:21:21 +0000 (22:21 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18730 a592a061-630c-0410-9148-cb99ea01b6c8

src/MenuBackend.cpp

index ec267be21543df9c0465f3dfb0ef47474c3de3da..7865786ff3ff326297b4c0c1e704c8a5aeead262 100644 (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();