]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.cpp
Add Nomenclature to the TOC.
[lyx.git] / src / insets / InsetLayout.cpp
index c1a6c113c27b0445c7a5a2d206c709708a0473a8..77294856d23c86c33aa74129c50dd91e16724439 100644 (file)
@@ -551,6 +551,9 @@ void InsetLayout::readArgument(Lexer & lex)
                        arg.rdelim = lex.getDocString();
                        arg.rdelim = support::subst(arg.rdelim,
                                                    from_ascii("<br/>"), from_ascii("\n"));
+               } else if (tok == "defaultarg") {
+                       lex.next();
+                       arg.defaultarg = lex.getDocString();
                } else if (tok == "presetarg") {
                        lex.next();
                        arg.presetarg = lex.getDocString();