]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.cpp
Fix greyedout notes UI color (#6682) as good as it gets ATM
[lyx.git] / src / BufferParams.cpp
index 403a2cbbe1fa0d2a46ea3abb3c6f899a58053ab7..51c3d410af64471cbaa0e65079368f07c9977df7 100644 (file)
@@ -815,10 +815,12 @@ string BufferParams::readToken(Lexer & lex, string const & token,
                lex.eatLine();
                string color = lex.getString();
                notefontcolor = lyx::rgbFromHexName(color);
+               lcolor.setColor("notefontcolor", color);
        } else if (token == "\\boxbgcolor") {
                lex.eatLine();
                string color = lex.getString();
                boxbgcolor = lyx::rgbFromHexName(color);
+               lcolor.setColor("boxbgcolor", color);
        } else if (token == "\\paperwidth") {
                lex >> paperwidth;
        } else if (token == "\\paperheight") {