* also enable LFUN_BRANCH_INSERT if we have branches only in a child.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29569 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-05-08 12:38:58 +00:00
parent 48f36f59e7
commit 9d9f14ed38

View File

@ -2162,7 +2162,8 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd,
break;
case LFUN_BRANCH_INSERT:
code = BRANCH_CODE;
if (cur.buffer()->masterBuffer()->params().branchlist().empty())
if (cur.buffer()->masterBuffer()->params().branchlist().empty()
&& cur.buffer().params().branchlist().empty())
enable = false;
break;
case LFUN_PHANTOM_INSERT: