In the menu when there is an entry that has an ampersand and it has a shortcut, an unnecessary underscore is displayed. For example, instead of "Find & Replace (Quick)..." I see "_Find & Replace (Quick)...". I see this behavior on Ubuntu 12.04 with Qt 4.8.1.
The attached patch fixes this. Note that I also changed the ampersand in "Find & Replace (Advanced)..." even though no shortcut is associated with it (so there is no problem currently). Do others also observe this behavior? Thanks, Scott
diff --git a/lib/ui/stdmenus.inc b/lib/ui/stdmenus.inc index b7e1f03..ceb05be 100644 --- a/lib/ui/stdmenus.inc +++ b/lib/ui/stdmenus.inc @@ -89,7 +89,7 @@ Menuset Menu "file_export" Item "Export As...|s" "buffer-export-as" ExportFormats - Item "More Formats & Options...|O" "buffer-export custom" + Item "More Formats & Options...|O" "buffer-export custom" End # @@ -109,8 +109,8 @@ Menuset Item "Select Whole Inset" "inset-select-all" Item "Select All" "command-sequence buffer-begin ; buffer-end-select" Separator - Item "Find & Replace (Quick)...|F" "dialog-show findreplace" - Item "Find & Replace (Advanced)..." "dialog-show findreplaceadv" + Item "Find & Replace (Quick)...|F" "dialog-show findreplace" + Item "Find & Replace (Advanced)..." "dialog-show findreplaceadv" Separator Item "Move Paragraph Up|o" "paragraph-move-up" Item "Move Paragraph Down|v" "paragraph-move-down" @@ -122,7 +122,7 @@ Menuset # Mathed b0rkage means these don't work properly OptSubmenu "Table|T" "edit_tabular" OptSubmenu "Math|M" "edit_math" - OptSubmenu "Rows & Columns|C" "edit_tabular_features" + OptSubmenu "Rows & Columns|C" "edit_tabular_features" Separator # This is where the context-specific stuff is supposed to go. # The idea is that everything on here can disappear and should