From: Guillaume Munch Date: Tue, 20 Oct 2015 15:11:31 +0000 (+0100) Subject: Amend bb344452 X-Git-Tag: 2.2.0alpha1~193 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9d7c3a48762a024cb80c5552e6b25af4af3767fd;p=features.git Amend bb344452 --- diff --git a/src/insets/InsetRef.cpp b/src/insets/InsetRef.cpp index c85f16699a..a2466c8ac1 100644 --- a/src/insets/InsetRef.cpp +++ b/src/insets/InsetRef.cpp @@ -289,7 +289,7 @@ void InsetRef::updateBuffer(ParIterator const & it, UpdateType) } unsigned int const maxLabelChars = 24; - if (screen_label_.size() > maxLabelChars) { + if (label.size() > maxLabelChars) { tooltip_ = label; support::truncateWithEllipsis(label, maxLabelChars); } else