Jürgen Spitzmüller wrote:
> Actually, we talked about different crashes. Yours is still there :-(

It was a missing updateLabels() call in mathed. The attach addition fixes the 
problem for me. Please test.

Jürgen
Index: src/mathed/InsetMathNest.cpp
===================================================================
--- src/mathed/InsetMathNest.cpp	(Revision 33238)
+++ src/mathed/InsetMathNest.cpp	(Arbeitskopie)
@@ -173,6 +173,14 @@
 }
 
 
+void InsetMathNest::updateLabels(ParIterator const & it, UpdateType utype)
+{
+	for (idx_type i = 0, n = nargs(); i != n; ++i)
+		cell(i).updateLabels(it, utype);
+}
+
+
+
 bool InsetMathNest::idxNext(Cursor & cur) const
 {
 	LASSERT(&cur.inset() == this, /**/);
@@ -976,6 +984,7 @@
 		cur.posBackward();
 		cur.pushBackward(*cur.nextInset());
 		cur.niceInsert(save_selection);
+		cur.buffer()->updateLabels();
 #else
 		if (currentMode() == Inset::TEXT_MODE) {
 			cur.recordUndoSelection();

Reply via email to