]> git.lyx.org Git - features.git/commitdiff
Amend bb344452
authorGuillaume Munch <gm@lyx.org>
Tue, 20 Oct 2015 15:11:31 +0000 (16:11 +0100)
committerGuillaume Munch <gm@lyx.org>
Tue, 20 Oct 2015 15:23:25 +0000 (16:23 +0100)
src/insets/InsetRef.cpp

index c85f16699a31f7884b40a28d305051ae594052a1..a2466c8ac10753ab6a2a96498b5129c3ba85a9e1 100644 (file)
@@ -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