]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetLayout.cpp
Allow to separate menu string from label string for arguments
[features.git] / src / insets / InsetLayout.cpp
index 15b3dee7db0da66553bcfd7f5abafcdac043988a..afbc4db50b44fb7aa7465128e9d00fe9e800d738 100644 (file)
@@ -528,6 +528,9 @@ void InsetLayout::readArgument(Lexer & lex)
                } else if (tok == "labelstring") {
                        lex.next();
                        arg.labelstring = lex.getDocString();
+               } else if (tok == "menustring") {
+                       lex.next();
+                       arg.menustring = lex.getDocString();
                } else if (tok == "mandatory") {
                        lex.next();
                        arg.mandatory = lex.getBool();