mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
* src/mathed/InsetMathNest.cpp:
- also handle the Color_inherit case. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23688 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
26fd7ca164
commit
ad5ba124be
@ -491,7 +491,8 @@ void InsetMathNest::handleFont2(Cursor & cur, docstring const & arg)
|
||||
Font font;
|
||||
bool b;
|
||||
font.fromString(to_utf8(arg), b);
|
||||
if (font.fontInfo().color() != Color_ignore)
|
||||
if (font.fontInfo().color() != Color_inherit &&
|
||||
font.fontInfo().color() != Color_ignore)
|
||||
handleNest(cur, MathAtom(new InsetMathColor(true, font.fontInfo().color())));
|
||||
|
||||
// FIXME: support other font changes here as well?
|
||||
|
Loading…
Reference in New Issue
Block a user