Minor OCR update

This commit is contained in:
Nikolaj Olsson 2020-03-28 19:18:26 +01:00
parent 8169a44e60
commit 08c3cd62ca
3 changed files with 2 additions and 1 deletions

View File

@ -371,6 +371,7 @@ This file is case sensitive.
<name>Avery</name>
<name>Avodart</name>
<name>Axel</name>
<name>Axel Foley</name>
<name>Ayden</name>
<name>Aziz</name>
<name>Azkaban</name>

Binary file not shown.

View File

@ -6646,7 +6646,7 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
foreach (var ml in ModiLanguage.AllLanguages)
{
comboBoxModiLanguage.Items.Add(ml);
if (ml.Id == _vobSubOcrSettings.LastModiLanguageId)
if (_vobSubOcrSettings != null && ml.Id == _vobSubOcrSettings.LastModiLanguageId)
{
comboBoxModiLanguage.SelectedIndex = comboBoxModiLanguage.Items.Count - 1;
}