1
0
mirror of https://git.lyx.org/repos/lyx.git synced 2025-01-06 09:37:31 +00:00

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;
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;