[LyX/master] Revert "By default, use an argument's menu string as its label string."
Richard Kimberly Heck
rikiheck at lyx.org
Fri Mar 26 17:51:56 UTC 2021
commit 65d0c96855e0f27c65f6539b2a8c1629e6f7f7ab
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date: Fri Mar 26 13:58:28 2021 -0400
Revert "By default, use an argument's menu string as its label string."
Committed by accident.
This reverts commit affd6101bddb3afebad05e16f36e771c04b7b8e3.
---
src/insets/InsetLayout.cpp | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/insets/InsetLayout.cpp b/src/insets/InsetLayout.cpp
index 00e63b8..b6056cd 100644
--- a/src/insets/InsetLayout.cpp
+++ b/src/insets/InsetLayout.cpp
@@ -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();
More information about the lyx-cvs
mailing list