mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Add missing cur.forceBufferUpdate() to LFUN_BRANCH_(DE)ACTIVATE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36598 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
940ab1261b
commit
dc9d39dafe
@ -134,7 +134,11 @@ void InsetBranch::doDispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
if (!our_branch)
|
if (!our_branch)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
our_branch->setSelected(cmd.action() == LFUN_BRANCH_ACTIVATE);
|
bool const activate = (cmd.action() == LFUN_BRANCH_ACTIVATE);
|
||||||
|
if (our_branch->isSelected() != activate) {
|
||||||
|
our_branch->setSelected(activate);
|
||||||
|
cur.forceBufferUpdate();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case LFUN_INSET_TOGGLE:
|
case LFUN_INSET_TOGGLE:
|
||||||
|
Loading…
Reference in New Issue
Block a user