mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Require xcolor whenever we use an \fcolorbox
This commit is contained in:
parent
3e063daeab
commit
2854355fe3
@ -810,7 +810,8 @@ void InsetBox::validate(LaTeXFeatures & features) const
|
||||
break;
|
||||
case Boxed:
|
||||
features.require("calc");
|
||||
if (getFrameColor() != "black" || getBackgroundColor() != "white")
|
||||
if (params_.framecolor != "default" || params_.backgroundcolor != "none")
|
||||
// \fcolorbox, which is part of (x)color, is used
|
||||
features.require("xcolor");
|
||||
break;
|
||||
case ovalbox:
|
||||
|
Loading…
Reference in New Issue
Block a user