From 156513f453cdb1e38668fe1633e2c4a101b406c7 Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Sun, 28 Apr 2024 10:27:25 +0200 Subject: [PATCH] Add delete key action for "unknown words" in OCR - thx RedSoxFan04 :) Fix #8227 --- src/ui/Forms/Ocr/VobSubOcr.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ui/Forms/Ocr/VobSubOcr.cs b/src/ui/Forms/Ocr/VobSubOcr.cs index 9823c69f5..4427632f7 100644 --- a/src/ui/Forms/Ocr/VobSubOcr.cs +++ b/src/ui/Forms/Ocr/VobSubOcr.cs @@ -8600,6 +8600,13 @@ namespace Nikse.SubtitleEdit.Forms.Ocr // ignored } } + + e.Handled = true; + } + else if (e.KeyCode == Keys.Delete) + { + removeAllXToolStripMenuItem_Click(null, null); + e.Handled = true; } }