]> git.lyx.org Git - features.git/commitdiff
Use LOCK in all cases
authorRichard Kimberly Heck <rikiheck@lyx.org>
Sun, 6 Dec 2020 15:57:14 +0000 (10:57 -0500)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Sun, 6 Dec 2020 15:57:20 +0000 (10:57 -0500)
src/insets/InsetCollapsible.cpp

index 58f45b53134398b638e35f5447da440954518743..1653386560e391e77097ccc0efd30033d7296a21 100644 (file)
@@ -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);
 }