mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
* src/inset/InsetNomencl.cpp:
- indicate content of nomencl inset (bug 5183). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26223 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ae366e55ff
commit
b556fe1bcb
@ -55,7 +55,14 @@ ParamInfo const & InsetNomencl::findInfo(string const & /* cmdName */)
|
||||
|
||||
docstring InsetNomencl::screenLabel() const
|
||||
{
|
||||
return _("Nom");
|
||||
size_t const maxLabelChars = 25;
|
||||
|
||||
docstring label = _("Nom: ") + getParam("symbol");
|
||||
if (label.size() > maxLabelChars) {
|
||||
label.erase(maxLabelChars - 3);
|
||||
label += "...";
|
||||
}
|
||||
return label;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user