mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
Show status of branches even when inset is closed
This commit is contained in:
parent
52af78aa0c
commit
7ec2721d18
@ -106,11 +106,10 @@ docstring const InsetBranch::buttonLabel(BufferView const & bv) const
|
|||||||
docstring symb = docstring(1, char_type(master_selected ? 0x2714 : 0x2716));
|
docstring symb = docstring(1, char_type(master_selected ? 0x2714 : 0x2716));
|
||||||
if (inchild && master_selected != child_selected)
|
if (inchild && master_selected != child_selected)
|
||||||
symb += char_type(child_selected ? 0x2714 : 0x2716);
|
symb += char_type(child_selected ? 0x2714 : 0x2716);
|
||||||
s = symb + s;
|
|
||||||
if (decoration() == InsetLayout::CLASSIC)
|
if (decoration() == InsetLayout::CLASSIC)
|
||||||
return isOpen(bv) ? s : getNewLabel(s);
|
return symb + (isOpen(bv) ? s : getNewLabel(s));
|
||||||
else
|
else
|
||||||
return params_.branch + ": " + getNewLabel(s);
|
return symb + params_.branch + ": " + getNewLabel(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user