[EMAIL PROTECTED] wrote:
Hello,
I've compiled LyX 5.0 svn.
1) Open User Guide
2) Tools -> outline
3) Document -> Next cross-reference
4) Click in the Toc Widget on the second section
5) Boum with this (rather unhelpful message)
/usr/include/c++/4.1.3/debug/safe_iterator.h:130:error: attempt to copy-
construct an iterator from a singular iterator.
The problem has been introduced at revision 18693
URL: http://www.lyx.org/trac/changeset/18693
Log:
Update Toc when navigation menu is trigged.
This is fixed now.
Abdel.
Author: younes
Date: Sun Jun 10 00:21:21 2007
New Revision: 18730
URL: http://www.lyx.org/trac/changeset/18730
Log:
Fix missing signal emission following revision 18693.
Modified:
lyx-devel/trunk/src/MenuBackend.cpp
Modified: lyx-devel/trunk/src/MenuBackend.cpp
URL:
http://www.lyx.org/trac/file/lyx-devel/trunk/src/MenuBackend.cpp?rev=18730
==============================================================================
--- lyx-devel/trunk/src/MenuBackend.cpp (original)
+++ lyx-devel/trunk/src/MenuBackend.cpp Sun Jun 10 00:21:21 2007
@@ -705,7 +705,9 @@
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();