mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
* InsetBranch.cpp:
- fix display of "child only" suffix, and "undefined" suffix. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30423 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4b55ed8202
commit
7d1b297e7e
@ -90,8 +90,11 @@ docstring const InsetBranch::buttonLabel(BufferView const & bv) const
|
||||
docstring s = _("Branch: ") + params_.branch;
|
||||
Buffer const & realbuffer = *buffer().masterBuffer();
|
||||
BranchList const & branchlist = realbuffer.params().branchlist();
|
||||
if (!branchlist.find(params_.branch))
|
||||
if (!branchlist.find(params_.branch)
|
||||
&& buffer().params().branchlist().find(params_.branch))
|
||||
s = _("Branch (child only): ") + params_.branch;
|
||||
else if (!branchlist.find(params_.branch))
|
||||
s = _("Branch (undefined): ") + params_.branch;
|
||||
if (!params_.branch.empty()) {
|
||||
// FIXME UNICODE
|
||||
ColorCode c = lcolor.getFromLyXName(to_utf8(params_.branch));
|
||||
|
Loading…
Reference in New Issue
Block a user