From cec6a489d3e186572a3e05a86bdebc24adecb97b Mon Sep 17 00:00:00 2001 From: niksedk Date: Thu, 24 Jun 2021 19:00:26 +0200 Subject: [PATCH] Fix crash in shortcuts - thx Andrebavila :) Fix #5150 --- src/ui/Forms/Options/Settings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/Forms/Options/Settings.cs b/src/ui/Forms/Options/Settings.cs index afb9dfccc..4ea7c0bcc 100644 --- a/src/ui/Forms/Options/Settings.cs +++ b/src/ui/Forms/Options/Settings.cs @@ -3062,7 +3062,7 @@ namespace Nikse.SubtitleEdit.Forms.Options { foreach (ShortcutNode subNode in parent.Nodes) { - if (sh != null && !sh.IsPlugin && subNode.Shortcut.Shortcut.Name == sh.Shortcut.Name) + if (sh != null && !sh.IsPlugin && !subNode.Shortcut.IsPlugin && subNode.Shortcut.Shortcut.Name == sh.Shortcut.Name) { subNode.Text = text + " " + shortcutText; }