Use LOCK in all cases

This commit is contained in:
Richard Kimberly Heck 2020-12-06 10:57:14 -05:00
parent 78f457796c
commit 842fd8a74d

View File

@ -693,7 +693,7 @@ docstring const InsetCollapsible::buttonLabel(BufferView const & bv) const
InsetLayout const & il = getLayout(); InsetLayout const & il = getLayout();
docstring const label = getLabel(); docstring const label = getLabel();
if (!il.contentaslabel() || geometry(bv) != ButtonOnly) if (!il.contentaslabel() || geometry(bv) != ButtonOnly)
return indicator + label; return locked + indicator + label;
return locked + indicator + getNewLabel(label); return locked + indicator + getNewLabel(label);
} }