]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBranch.cpp
Mark status of branches in the Button. This uses two dingbat symbols (check
[features.git] / src / insets / InsetBranch.cpp
index 2878a4772b6e2a51c7bbcca82c4088dc1ce45c66..45e4ebe72f9b813efb2f05d9b09d9cc3cf8523b5 100644 (file)
@@ -94,6 +94,7 @@ docstring const InsetBranch::buttonLabel(BufferView const & bv) const
                if (c == Color_none)
                        s = _("Undef: ") + s;
        }
+       s = char_type(isBranchSelected() ? 0x2714 : 0x2716) + s;
        if (decoration() == InsetLayout::CLASSIC)
                return isOpen(bv) ? s : getNewLabel(s);
        else