Fix crash in "Batch convert" with vobsub/forcedonly - thx Toby :)

This commit is contained in:
Nikolaj Olsson 2020-01-07 17:50:41 +01:00
parent a0347afdd0
commit fbd5239a26

View File

@ -584,8 +584,8 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
internal void InitializeBatch(string vobSubFileName, VobSubOcrSettings vobSubOcrSettings, bool forcedOnly, string language = null)
{
Initialize(vobSubFileName, vobSubOcrSettings, null, true);
checkBoxShowOnlyForced.Checked = forcedOnly;
FormVobSubOcr_Shown(null, null);
checkBoxShowOnlyForced.Checked = forcedOnly;
checkBoxPromptForUnknownWords.Checked = false;
_ocrMethodIndex = Configuration.Settings.VobSubOcr.LastOcrMethod == "Tesseract4" ? _ocrMethodTesseract4 : _ocrMethodTesseract302;