mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +00:00
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:
parent
a568756b19
commit
1a73516990
@ -594,7 +594,8 @@ Menuset
|
|||||||
# InsetERT context menu
|
# InsetERT context menu
|
||||||
#
|
#
|
||||||
Menu "context-ert"
|
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
|
End
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user