Fix bug #6240: Adding table row causes exception that triggers infinite loop in code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32038 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-11-16 00:18:52 +00:00
parent 7365a29fea
commit 86a9302823

View 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;