From 67bafed7bbaa7d39c2fdfa79dc7ecebae2b0c963 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 31 Mar 2009 10:31:28 +0000 Subject: [PATCH] Mark status of branches in the Button. This uses two dingbat symbols (check and cross). I'll revert if people do not like it (otherwise it is candidate for branch). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28988 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetBranch.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/insets/InsetBranch.cpp b/src/insets/InsetBranch.cpp index 2878a4772b..45e4ebe72f 100644 --- a/src/insets/InsetBranch.cpp +++ b/src/insets/InsetBranch.cpp @@ -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 -- 2.39.2