From 1a7351699095b863e1eb2c3bc9be7affa2e218fe Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Tue, 29 Mar 2011 12:23:32 +0000 Subject: [PATCH] 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 --- lib/ui/stdcontext.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ui/stdcontext.inc b/lib/ui/stdcontext.inc index 6b5fff5ab4..b57420fad9 100644 --- a/lib/ui/stdcontext.inc +++ b/lib/ui/stdcontext.inc @@ -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 #