* 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:
Jürgen Spitzmüller 2007-06-11 05:12:10 +00:00
parent a8c4376ae3
commit 5d8e1d7dc5

View File

@ -152,7 +152,7 @@ void InsetBranch::doDispatch(Cursor & cur, FuncRequest & cmd)
case LFUN_INSET_TOGGLE:
if (cmd.argument() == "assign" || cmd.argument().empty()) {
if (cmd.argument() == "assign") {
// The branch inset uses "assign".
if (isBranchSelected(cur.buffer())) {
if (status() != Open)