]> git.lyx.org Git - features.git/commitdiff
Add submenu to math context menu
authorEnrico Forestieri <forenr@lyx.org>
Sun, 19 May 2019 09:45:13 +0000 (11:45 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:30 +0000 (15:48 +0200)
The "Rows & Columns" optional submenu is more easily accessible in
the math context menu rather having to navigate to the "Edit" menu.
All possible accelerators are already taken, so use the space bar.

lib/ui/stdcontext.inc

index 6f86dd124c51d32e375f421863cfe0f0946889f3..58d2d40f9419ad40372f04471e9896dc819a6373 100644 (file)
@@ -62,6 +62,8 @@ Menuset
                Separator
                Submenu "Insert|s" "insert_math_context"
                Separator
+               OptSubmenu "Rows & Columns| " "edit_tabular_features"
+               Separator
                OptItem "Add Line Above|o" "tabular-feature add-hline-above"
                OptItem "Add Line Below|B" "tabular-feature add-hline-below"
                OptItem "Delete Line Above|v" "tabular-feature delete-hline-above"