]> git.lyx.org Git - features.git/commit
Extend the branch-(de)activate functions to work without a parameter. In
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 31 Mar 2009 09:38:07 +0000 (09:38 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 31 Mar 2009 09:38:07 +0000 (09:38 +0000)
commit6c422712e165e39d497ffecf287caeb77f3e663f
tree5d2ff2e22fcc67c52af78b803e5ed6869867d556
parentf5a3bd7c3736229233a540f3802d77a88849001e
Extend the branch-(de)activate functions to work without a parameter. In
this case, when the cursor is on a branch inset (using the AtPoint mechanism)
the branch to which the branch inset belongs will be (de)activated.

This functionality can now be used through the branch inset context menu

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28987 a592a061-630c-0410-9148-cb99ea01b6c8
lib/ui/stdcontext.inc
src/Buffer.cpp
src/BufferView.cpp
src/LyXAction.cpp
src/insets/InsetBranch.cpp
src/insets/InsetBranch.h