mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
parent
66cfc6af3c
commit
2a1c3dce57
@ -534,8 +534,10 @@ void InsetRef::updateBuffer(ParIterator const & it, UpdateType, bool const /*del
|
|||||||
if (use_formatted_ref || label.size() > maxLabelChars) {
|
if (use_formatted_ref || label.size() > maxLabelChars) {
|
||||||
tooltip_ = label;
|
tooltip_ = label;
|
||||||
support::truncateWithEllipsis(label, maxLabelChars);
|
support::truncateWithEllipsis(label, maxLabelChars);
|
||||||
} else
|
} else {
|
||||||
tooltip_ = from_ascii("");
|
// put cross-reference value into tooltip
|
||||||
|
tooltip_ = displayString(ref, cmd);
|
||||||
|
}
|
||||||
|
|
||||||
screen_label_ = label;
|
screen_label_ = label;
|
||||||
// If use_formatted_ref is active, this will be overwritten in addToToc.
|
// If use_formatted_ref is active, this will be overwritten in addToToc.
|
||||||
|
Loading…
Reference in New Issue
Block a user