From: Scott Kostyshak Date: Sun, 1 Oct 2023 00:21:22 +0000 (-0400) Subject: Amend 087f6bce X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a6882a1db0152af270bcba08215424793946d99a;p=features.git 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. --- diff --git a/src/insets/InsetBox.cpp b/src/insets/InsetBox.cpp index 36507cf8e2..81506be6da 100644 --- a/src/insets/InsetBox.cpp +++ b/src/insets/InsetBox.cpp @@ -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: