mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
* src/inset/InsetNomencl.cpp:
- indicate content of nomencl inset (bug 5183). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26224 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e671b0201a
commit
dc8d51bd80
@ -36,7 +36,14 @@ InsetNomencl::InsetNomencl(InsetCommandParams const & p)
|
||||
|
||||
docstring const InsetNomencl::getScreenLabel(Buffer const &) const
|
||||
{
|
||||
return _("Nom");
|
||||
size_t const maxLabelChars = 25;
|
||||
|
||||
docstring label = _("Nom: ") + getParam("symbol");
|
||||
if (label.size() > maxLabelChars) {
|
||||
label.erase(maxLabelChars - 3);
|
||||
label += "...";
|
||||
}
|
||||
return label;
|
||||
}
|
||||
|
||||
|
||||
|
@ -42,6 +42,7 @@ What's new
|
||||
|
||||
* USER INTERFACE
|
||||
|
||||
- The nomenclature insets now indicate their content (bug 5183).
|
||||
|
||||
|
||||
* WINDOWS INSTALLER
|
||||
|
Loading…
x
Reference in New Issue
Block a user