mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +00:00
Revert "By default, use an argument's menu string as its label string."
Committed by accident.
This reverts commit affd6101bd
.
This commit is contained in:
parent
942d3cab32
commit
65d0c96855
@ -770,8 +770,6 @@ void InsetLayout::readArgument(Lexer & lex)
|
|||||||
} else if (tok == "menustring") {
|
} else if (tok == "menustring") {
|
||||||
lex.next();
|
lex.next();
|
||||||
arg.menustring = lex.getDocString();
|
arg.menustring = lex.getDocString();
|
||||||
if (arg.labelstring.empty())
|
|
||||||
arg.labelstring = arg.menustring;
|
|
||||||
} else if (tok == "mandatory") {
|
} else if (tok == "mandatory") {
|
||||||
lex.next();
|
lex.next();
|
||||||
arg.mandatory = lex.getBool();
|
arg.mandatory = lex.getBool();
|
||||||
|
Loading…
Reference in New Issue
Block a user