The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit a8b81312b387ab52c89c691baff0598ef189c223
Author: Juergen Spitzmueller <[email protected]>
Date:   Sat Dec 22 12:07:29 2012 +0100

    There is no good reason to disallow nesting of bibliography

diff --git a/src/Text2.cpp b/src/Text2.cpp
index 1741028..fe2d94e 100644
--- a/src/Text2.cpp
+++ b/src/Text2.cpp
@@ -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;

-----------------------------------------------------------------------

Summary of changes:
 src/Text2.cpp |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to