From bed3844f30a1d0417f48cf611e02ff3b145830e1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sat, 25 Oct 2008 01:55:55 +0000 Subject: [PATCH] InsetLayout.cpp: fix part of http://bugzilla.lyx.org/show_bug.cgi?id=5403 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27095 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetLayout.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/insets/InsetLayout.cpp b/src/insets/InsetLayout.cpp index 245a48ea02..f71fd582a2 100644 --- a/src/insets/InsetLayout.cpp +++ b/src/insets/InsetLayout.cpp @@ -46,11 +46,11 @@ namespace { InsetLayout::InsetDecoration translateDecoration(std::string const & str) { - if (str == "classic") + if (str == "classic" || str == "Classic") return InsetLayout::Classic; - if (str == "minimalistic") + if (str == "minimalistic" || str == "Minimalistic") return InsetLayout::Minimalistic; - if (str == "conglomerate") + if (str == "conglomerate" || str == "Conglomerate") return InsetLayout::Conglomerate; return InsetLayout::Default; } -- 2.39.2