mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 03:33:18 +01:00
Fix for last commit
This commit is contained in:
parent
6bdc0f358d
commit
e9aca81170
@ -492,16 +492,16 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
|
||||
_ocrMethodBinaryImageCompare = comboBoxOcrMethod.Items.Add(language.OcrViaImageCompare);
|
||||
if (Configuration.IsRunningOnLinux || Configuration.IsRunningOnMac)
|
||||
{
|
||||
if (Configuration.IsRunningOnLinux && Configuration.TesseractDataDirectory.EndsWith("/5/tessdata", StringComparison.Ordinal))
|
||||
{
|
||||
Tesseract5Version = "5";
|
||||
}
|
||||
|
||||
Tesseract5Version = "4";
|
||||
checkBoxTesseractMusicOn.Checked = false;
|
||||
checkBoxTesseractMusicOn.Visible = false;
|
||||
checkBoxTesseractFallback.Checked = false;
|
||||
checkBoxTesseractFallback.Visible = false;
|
||||
|
||||
if (Configuration.IsRunningOnLinux && Configuration.TesseractDataDirectory.EndsWith("/5/tessdata", StringComparison.Ordinal))
|
||||
{
|
||||
Tesseract5Version = "5";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user