mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
There is no good reason to disallow nesting of bibliography
This commit is contained in:
parent
b0aa0db10a
commit
a8b81312b3
@ -207,8 +207,6 @@ void Text::setLayout(Cursor & cur, docstring const & layout)
|
||||
static bool changeDepthAllowed(Text::DEPTH_CHANGE type,
|
||||
Paragraph const & par, int max_depth)
|
||||
{
|
||||
if (par.layout().labeltype == LABEL_BIBLIO)
|
||||
return false;
|
||||
int const depth = par.params().depth();
|
||||
if (type == Text::INC_DEPTH && depth < max_depth)
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user