commit 63c439e11ac3f3c1921717d8c8f5db3aff08ec31
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Sat Mar 1 11:20:33 2025 +0100

    Amend c1e024a0c
    
    Cut 'n' paste error
---
 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 0e1e39d6d4..5f4173e095 100644
--- a/src/insets/InsetTabular.cpp
+++ b/src/insets/InsetTabular.cpp
@@ -3697,7 +3697,7 @@ void Tabular::latex(otexstream & os, OutputParams const & 
runparams) const
        bool have_local_alt_row_colors = false;
        // switch on alternating row colors if requested
        if ((getOddRowColor() != "default" || getEvenRowColor() != "default")
-           && (!getOddRowColor().empty() && getEvenRowColor().empty())
+           && (!getOddRowColor().empty() && !getEvenRowColor().empty())
            && (odd_row_color != "default" || even_row_color != "default")) {
                have_local_alt_row_colors = true;
                string const orc = getOddRowColor() == "none"
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to