Work-around for bug #7393. This removes the invalid toggle-mark on the wrap by preview menuitem in the ert-context menu. The real fix is to properly retrieve the status for command-sequences, which is not really trivial.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38129 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2011-03-29 12:23:32 +00:00
parent a568756b19
commit 1a73516990

View File

@ -594,7 +594,8 @@ Menuset
# InsetERT context menu
#
Menu "context-ert"
Item "Wrap by Preview|P" "command-sequence inset-toggle;char-forward;char-backward;char-forward-select;preview-insert;char-backward;char-backward;inset-toggle"
# repeat 1 is added as a work-around to not indicate this action as toggable
Item "Wrap by Preview|P" "command-sequence repeat 1;inset-toggle;char-forward;char-backward;char-forward-select;preview-insert;char-backward;char-backward;inset-toggle"
End
#