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
This commit is contained in:
Uwe Stöhr 2010-07-08 02:42:36 +00:00
parent af6de17818
commit 142caff833

View File

@ -223,7 +223,7 @@ bool InsetBox::getStatus(Cursor & cur, FuncRequest const & cmd,
return true; return true;
case LFUN_BREAK_PARAGRAPH: 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); return InsetCollapsable::getStatus(cur, cmd, flag);
flag.setEnabled(false); flag.setEnabled(false);
return true; return true;