commit b2007e3d667b403ebda9da3795d6b293ff390bec
Author: Juergen Spitzmueller <[email protected]>
Date:   Sat Nov 22 09:48:22 2025 +0100

    Clear custom_colors before re-reading header
    
    (cherry picked from commit 199fe317f16e5ce0980a070326929248bc0355a2)
---
 src/Buffer.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 5b79937714..c7d765018f 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -994,6 +994,7 @@ int Buffer::readHeader(Lexer & lex)
        params().spellignore().clear();
        params().lang_options_babel_.clear();
        params().lang_options_polyglossia_.clear();
+       params().custom_colors.clear();
 
        for (int i = 0; i < 4; ++i) {
                params().user_defined_bullet(i) = ITEMIZE_DEFAULTS[i];
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to