From: Uwe Stöhr Date: Thu, 8 Jul 2010 02:42:36 +0000 (+0000) Subject: InsetBox.cpp: only shaded boxes can have multiple paragraphs when there is no inner box X-Git-Tag: 2.0.0~3027 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=142caff8336c54627606c09d3ce5bb7de7a8adb6;p=lyx.git 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 --- 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;