From a6882a1db0152af270bcba08215424793946d99a Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Sat, 30 Sep 2023 20:21:22 -0400 Subject: [PATCH] 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. --- src/insets/InsetBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5