v...@lyx.org wrote:
Author: vfr
Date: Mon Nov 16 01:18:52 2009
New Revision: 32038
URL: http://www.lyx.org/trac/changeset/32038
Log:
Fix bug #6240: Adding table row causes exception that triggers infinite loop in
code.
Modified:
lyx-devel/trunk/src/insets/InsetTabular.cpp
Modified: lyx-devel/trunk/src/insets/InsetTabular.cpp
==============================================================================
--- lyx-devel/trunk/src/insets/InsetTabular.cpp Mon Nov 16 00:54:45 2009
(r32037)
+++ lyx-devel/trunk/src/insets/InsetTabular.cpp Mon Nov 16 01:18:52 2009
(r32038)
@@ -802,6 +802,7 @@
void Tabular::updateIndexes()
{
+ setBuffer(buffer());
I think the right fix is instead to pass the buffer to the new cells at
construction...
Abdel.