Initialize is_long_tabular before updateIndexes() (which employs it)

(cherry picked from commit 10b5f03d95)
This commit is contained in:
Juergen Spitzmueller 2024-05-20 08:50:39 +02:00
parent ac6d011e7f
commit 26834b7a07

View File

@ -783,8 +783,8 @@ void Tabular::init(Buffer * buf, row_type rows_arg,
row_info.reserve(10);
column_info.reserve(10);
cell_info.reserve(100);
updateIndexes();
is_long_tabular = false;
updateIndexes();
tabular_valignment = LYX_VALIGN_MIDDLE;
tabular_width = Length();
longtabular_alignment = LYX_LONGTABULAR_ALIGN_CENTER;