]> git.lyx.org Git - features.git/commitdiff
Fix bug #6240: Adding table row causes exception that triggers infinite loop in code.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 16 Nov 2009 00:18:52 +0000 (00:18 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 16 Nov 2009 00:18:52 +0000 (00:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32038 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetTabular.cpp

index b8ae729988d52972f80e56efff6b304de94d6700..476541f1e221e339038a3fc1775f2d1d39867050 100644 (file)
@@ -802,6 +802,7 @@ void Tabular::copyColumn(col_type const column)
 
 void Tabular::updateIndexes()
 {
+       setBuffer(buffer());
        col_type ncols = column_info.size();
        row_type nrows = row_info.size();
        numberofcells = 0;