mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Fix thinko
This commit is contained in:
parent
e6d92b829a
commit
5e6c5f407a
@ -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)
|
||||
|
@ -171,8 +171,6 @@ docstring const InsetERT::buttonLabel(BufferView const & bv) const
|
||||
{
|
||||
// U+1F512 LOCK
|
||||
docstring const locked = tempfile_ ? docstring(1, 0x1F512) : docstring();
|
||||
if (decoration() == InsetDecoration::MINIMALISTIC)
|
||||
return locked;
|
||||
if (decoration() == InsetDecoration::CLASSIC)
|
||||
return locked + (isOpen(bv) ? _("ERT") : getNewLabel(_("ERT")));
|
||||
return locked + getNewLabel(_("ERT"));
|
||||
|
@ -605,8 +605,6 @@ docstring const InsetListings::buttonLabel(BufferView const & bv) const
|
||||
{
|
||||
// FIXME UNICODE
|
||||
docstring const locked = tempfile_ ? docstring(1, 0x1F512) : docstring();
|
||||
if (decoration() == InsetDecoration::MINIMALISTIC)
|
||||
return locked;
|
||||
if (decoration() == InsetDecoration::CLASSIC)
|
||||
return locked + (isOpen(bv) ? _("Listing") : getNewLabel(_("Listing")));
|
||||
return locked + getNewLabel(_("Listing"));
|
||||
|
Loading…
Reference in New Issue
Block a user