]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCollapsible.cpp
Fix thinko
[lyx.git] / src / insets / InsetCollapsible.cpp
index da2269d41b2d39e064fe704defeb6d40121a8c1f..f179afe72f54bd5f2a57fc5ff44c9ac7083d31e6 100644 (file)
@@ -696,8 +696,6 @@ docstring const InsetCollapsible::buttonLabel(BufferView const & bv) const
 {
        // U+1F512 LOCK
        docstring const locked = tempfile_ ? docstring(1, 0x1F512) : docstring();
-       if (decoration() == InsetDecoration::MINIMALISTIC)
-               return locked;
        // indicate changed content in label (#8645)
        // ✎ U+270E LOWER RIGHT PENCIL
        docstring const indicator = (isChanged() && geometry(bv) == ButtonOnly)