]> git.lyx.org Git - features.git/commitdiff
Revert "Amend 087f6bce"
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 1 Oct 2023 07:26:26 +0000 (09:26 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 1 Oct 2023 07:26:26 +0000 (09:26 +0200)
This reverts commit a6882a1db0152af270bcba08215424793946d99a.

src/insets/InsetBox.cpp

index 81506be6da35e16a0ab1448acc088377d4edb131..36507cf8e280b11aa8bbe8dcfc7d03b006a4fc98 100644 (file)
@@ -810,7 +810,7 @@ void InsetBox::validate(LaTeXFeatures & features) const
                break;
        case Boxed:
                features.require("calc");
-               if (getFrameColor() != "default" || getBackgroundColor() != "white")
+               if (getFrameColor() != "black" || getBackgroundColor() != "white")
                        features.require("xcolor");
                break;
        case ovalbox: