[LyX/master] Use LOCK in all cases

Richard Kimberly Heck rikiheck at lyx.org
Sun Dec 6 15:29:38 UTC 2020


commit 842fd8a74ddce799c904ae473350db323454ed88
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Sun Dec 6 10:57:14 2020 -0500

    Use LOCK in all cases
---
 src/insets/InsetCollapsible.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/insets/InsetCollapsible.cpp b/src/insets/InsetCollapsible.cpp
index 58f45b5..1653386 100644
--- a/src/insets/InsetCollapsible.cpp
+++ b/src/insets/InsetCollapsible.cpp
@@ -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);
 }
 


More information about the lyx-cvs mailing list