mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Fix for remembering auto-translate target language - thx vivodi :)
Work on #7761
This commit is contained in:
parent
deb4956035
commit
43c9044e1b
@ -423,7 +423,7 @@ namespace Nikse.SubtitleEdit.Forms.Translate
|
||||
return;
|
||||
}
|
||||
|
||||
if (item.Code.StartsWith(threeLetterLanguageCode) || item.Code == languageIsoCode)
|
||||
if (!string.IsNullOrEmpty(threeLetterLanguageCode) && item.Code.StartsWith(threeLetterLanguageCode) || item.Code == languageIsoCode)
|
||||
{
|
||||
comboBox.SelectedIndex = i;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user