mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Amend 087f6bce
Explanation from Udi: There is a missing validation for the requirement of xcolor in InsetBox::validate, the case we use Boxed with non-default color. Patch from Udi.
This commit is contained in:
parent
10403b7959
commit
a6882a1db0
@ -810,7 +810,7 @@ void InsetBox::validate(LaTeXFeatures & features) const
|
||||
break;
|
||||
case Boxed:
|
||||
features.require("calc");
|
||||
if (getFrameColor() != "black" || getBackgroundColor() != "white")
|
||||
if (getFrameColor() != "default" || getBackgroundColor() != "white")
|
||||
features.require("xcolor");
|
||||
break;
|
||||
case ovalbox:
|
||||
|
Loading…
Reference in New Issue
Block a user