mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* src/insets/insetBranch.cpp (doDispatch):
- remove wrong check, fix bug 3835. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18734 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a8c4376ae3
commit
5d8e1d7dc5
@ -152,7 +152,7 @@ void InsetBranch::doDispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
|
|
||||||
|
|
||||||
case LFUN_INSET_TOGGLE:
|
case LFUN_INSET_TOGGLE:
|
||||||
if (cmd.argument() == "assign" || cmd.argument().empty()) {
|
if (cmd.argument() == "assign") {
|
||||||
// The branch inset uses "assign".
|
// The branch inset uses "assign".
|
||||||
if (isBranchSelected(cur.buffer())) {
|
if (isBranchSelected(cur.buffer())) {
|
||||||
if (status() != Open)
|
if (status() != Open)
|
||||||
|
Loading…
Reference in New Issue
Block a user