]> git.lyx.org Git - features.git/blobdiff - src/Text3.cpp
DocBook: fix issues with nested labeling lists.
[features.git] / src / Text3.cpp
index f5abd44f85ece2720d8fc5112387d3da6501a152..313be9d88c052dd8da1c22b72489fe6589c845a6 100644 (file)
@@ -3065,7 +3065,6 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd,
                        cur.buffer()->params().documentClass().insetLayout(from_utf8(s));
                if (il.lyxtype() != InsetLayout::CHARSTYLE &&
                    il.lyxtype() != InsetLayout::CUSTOM &&
-                   il.lyxtype() != InsetLayout::ELEMENT &&
                    il.lyxtype ()!= InsetLayout::STANDARD)
                        enable = false;
                break;