mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 03:33:18 +01:00
Minor adjustments to save shortcuts as html + setup "Ctrl+Alt+S" for "Save as..." - thx qubodup :)
Fix #6735
This commit is contained in:
parent
f9bfa08d29
commit
e96c0d5927
@ -2582,6 +2582,7 @@ $HorzAlign = Center
|
||||
MainFileNew = "Control+N";
|
||||
MainFileOpen = "Control+O";
|
||||
MainFileSave = "Control+S";
|
||||
MainFileSaveAs = "Control+Alt+S";
|
||||
MainEditUndo = "Control+Z";
|
||||
MainEditRedo = "Control+Y";
|
||||
MainEditFind = "Control+F";
|
||||
|
@ -3449,7 +3449,13 @@ namespace Nikse.SubtitleEdit.Forms.Options
|
||||
foreach (TreeNode shortcutNode in node.Nodes)
|
||||
{
|
||||
var indexOfBracket = shortcutNode.Text.IndexOf('[');
|
||||
var description = shortcutNode.Text;
|
||||
var description = shortcutNode.Text
|
||||
.Replace("&", "&")
|
||||
.Replace("<", "<")
|
||||
.Replace(">", ">")
|
||||
.Replace("\"", """)
|
||||
.Replace("{", "{")
|
||||
.Replace("}", "}");
|
||||
var shortcut = string.Empty;
|
||||
if (indexOfBracket >= 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user