From 142caff8336c54627606c09d3ce5bb7de7a8adb6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Thu, 8 Jul 2010 02:42:36 +0000 Subject: [PATCH] InsetBox.cpp: only shaded boxes can have multiple paragraphs when there is no inner box git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34808 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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 832ab2dd9e..893424b04e 100644 --- a/src/insets/InsetBox.cpp +++ b/src/insets/InsetBox.cpp @@ -223,7 +223,7 @@ bool InsetBox::getStatus(Cursor & cur, FuncRequest const & cmd, return true; case LFUN_BREAK_PARAGRAPH: - if (params_.inner_box || params_.type == "Framed") + if ((params_.inner_box && !params_.use_makebox) || params_.type == "Shaded") return InsetCollapsable::getStatus(cur, cmd, flag); flag.setEnabled(false); return true; -- 2.39.2