mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-31 23:52:03 +00:00
Use LOCK in all cases
This commit is contained in:
parent
78f457796c
commit
842fd8a74d
@ -693,7 +693,7 @@ docstring const InsetCollapsible::buttonLabel(BufferView const & bv) const
|
||||
InsetLayout const & il = getLayout();
|
||||
docstring const label = getLabel();
|
||||
if (!il.contentaslabel() || geometry(bv) != ButtonOnly)
|
||||
return indicator + label;
|
||||
return locked + indicator + label;
|
||||
return locked + indicator + getNewLabel(label);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user