mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Only show pencil change mark when inset is collapsed
This commit is contained in:
parent
dd60e2d9f4
commit
b0371714a0
@ -661,7 +661,8 @@ docstring const InsetCollapsible::buttonLabel(BufferView const & bv) const
|
||||
{
|
||||
// indicate changed content in label (#8645)
|
||||
// ✎ U+270E LOWER RIGHT PENCIL
|
||||
docstring indicator = isChanged() ? docstring(1, 0x270E) : docstring();
|
||||
docstring const indicator = (isChanged() && geometry(bv) == ButtonOnly)
|
||||
? docstring(1, 0x270E) : docstring();
|
||||
InsetLayout const & il = getLayout();
|
||||
docstring const label = getLabel();
|
||||
if (!il.contentaslabel() || geometry(bv) != ButtonOnly)
|
||||
|
Loading…
Reference in New Issue
Block a user