Fix "double dash" issue in "Fix common errors" - thx Joel :)

This commit is contained in:
niksedk 2023-06-02 08:12:15 +02:00
parent 4a29a296c6
commit 499c27063b

View File

@ -822,6 +822,13 @@ namespace Nikse.SubtitleEdit.Forms
_newLog.Clear();
Subtitle = new Subtitle(FixedSubtitle, false);
if (listView1.Items[IndexFixDoubleDash].Checked)
{
var fixItem = (FixItem)listView1.Items[IndexFixDoubleDash].Tag;
fixItem.Action.Invoke();
}
if (listView1.Items[IndexFixOcrErrorsViaReplaceList].Checked)
{
var fixItem = (FixItem)listView1.Items[IndexFixOcrErrorsViaReplaceList].Tag;