mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
* src/insets/InsetBox.cpp:
- allow paragraph breaks in Framed boxes. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24117 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a210f17a19
commit
981dedfe6b
@ -178,7 +178,7 @@ void InsetBox::metrics(MetricsInfo & m, Dimension & dim) const
|
||||
|
||||
bool InsetBox::forceEmptyLayout(idx_type) const
|
||||
{
|
||||
return !params_.inner_box;
|
||||
return !params_.inner_box && params_.type != "Framed";
|
||||
}
|
||||
|
||||
|
||||
@ -232,7 +232,7 @@ bool InsetBox::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user