From: Juergen Spitzmueller Date: Mon, 20 May 2024 06:50:39 +0000 (+0200) Subject: Initialize is_long_tabular before updateIndexes() (which employs it) X-Git-Tag: 2.4.1~84 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=26834b7a07626d44d81aea619e219ec26e00cb79;p=lyx.git Initialize is_long_tabular before updateIndexes() (which employs it) (cherry picked from commit 10b5f03d95dca8f3e8c225aa2deca4d473f8b169) --- diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 5242775e7f..da8e426935 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -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;