]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetRef.cpp
Cleanup bv-dependent variables in InsetCollapsable
[lyx.git] / 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