]> git.lyx.org Git - features.git/commitdiff
Revert "By default, use an argument's menu string as its label string."
authorRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 26 Mar 2021 17:58:28 +0000 (13:58 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 26 Mar 2021 17:58:28 +0000 (13:58 -0400)
Committed by accident.

This reverts commit affd6101bddb3afebad05e16f36e771c04b7b8e3.

src/insets/InsetLayout.cpp

index 00e63b895e9f02304b255c52989964bdde16a07d..b6056cd09837c7223aecf3a782785e02fcbc068d 100644 (file)
@@ -770,8 +770,6 @@ void InsetLayout::readArgument(Lexer & lex)
                } else if (tok == "menustring") {
                        lex.next();
                        arg.menustring = lex.getDocString();
-                       if (arg.labelstring.empty())
-                               arg.labelstring = arg.menustring;
                } else if (tok == "mandatory") {
                        lex.next();
                        arg.mandatory = lex.getBool();