From 42a30357091d8483342a4f52260a2d2c6d80c980 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Wed, 5 Oct 2016 01:31:14 +0200 Subject: [PATCH] Amend ccc0e03f Better adding the break, even if falling through would be Ok, as LyX requires xcolor when both xcolor and color are requested. --- src/mathed/InsetMathColor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mathed/InsetMathColor.cpp b/src/mathed/InsetMathColor.cpp index cbf6cb5d86..0a6d0aa6b9 100644 --- a/src/mathed/InsetMathColor.cpp +++ b/src/mathed/InsetMathColor.cpp @@ -88,8 +88,10 @@ void InsetMathColor::validate(LaTeXFeatures & features) const case Color_teal: case Color_violet: features.require("xcolor"); + break; default: features.require("color"); + break; } } } -- 2.39.2