]> git.lyx.org Git - features.git/blobdiff - src/Text2.cpp
There is no good reason to disallow nesting of bibliography
[features.git] / src / Text2.cpp
index 1741028dfdc6d68bb3f033e039e6ff42f138ebdb..fe2d94e831ae6f2b2540fb5af62d655adf609ae4 100644 (file)
@@ -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;