From 9d7c3a48762a024cb80c5552e6b25af4af3767fd Mon Sep 17 00:00:00 2001 From: Guillaume Munch Date: Tue, 20 Oct 2015 16:11:31 +0100 Subject: [PATCH] Amend bb344452 --- src/insets/InsetRef.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2