mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-08 18:19:42 +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:
parent
af6de17818
commit
142caff833
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user