- allow paragraph breaks in Framed boxes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24117
a592a061-630c-0410-9148-
cb99ea01b6c8
bool InsetBox::forceEmptyLayout(idx_type) const
{
- return !params_.inner_box;
+ return !params_.inner_box && params_.type != "Framed";
}
return true;
case LFUN_BREAK_PARAGRAPH:
- if (params_.inner_box)
+ if (params_.inner_box || params_.type == "Framed")
return InsetCollapsable::getStatus(cur, cmd, flag);
flag.enabled(false);
return true;