mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-08 18:19:42 +00:00
* 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:
parent
48f36f59e7
commit
9d9f14ed38
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user