commit 10b5f03d95dca8f3e8c225aa2deca4d473f8b169
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Mon May 20 08:50:39 2024 +0200

    Initialize is_long_tabular before updateIndexes() (which employs it)
---
 src/insets/InsetTabular.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp
index 46b54486de..2f32e3dd8d 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;
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to