This commit is contained in:
Guillaume Munch 2015-10-20 16:11:31 +01:00
parent a0e2d48a56
commit 9d7c3a4876

View File

@ -289,7 +289,7 @@ void InsetRef::updateBuffer(ParIterator const & it, UpdateType)
} }
unsigned int const maxLabelChars = 24; unsigned int const maxLabelChars = 24;
if (screen_label_.size() > maxLabelChars) { if (label.size() > maxLabelChars) {
tooltip_ = label; tooltip_ = label;
support::truncateWithEllipsis(label, maxLabelChars); support::truncateWithEllipsis(label, maxLabelChars);
} else } else