Add file name filter for batch-convert UI - thx mgutt :)

Fix #3855
This commit is contained in:
Nikolaj Olsson 2019-12-04 16:32:16 +01:00
parent 276e0a85c0
commit 00325148b9

View File

@ -1159,7 +1159,7 @@ namespace Nikse.SubtitleEdit.Forms
}
else if (comboBoxFilter.SelectedIndex == 4 && fileName.Contains(textBoxFilter.Text, StringComparison.OrdinalIgnoreCase))
{
skip = true;
skip = false;
}
return skip;
}
@ -1803,6 +1803,10 @@ namespace Nikse.SubtitleEdit.Forms
{
// skip for now
}
else if (comboBoxFilter.SelectedIndex == 4 && textBoxFilter.Text.Length > 0 && !fileName.Contains(textBoxFilter.Text, StringComparison.OrdinalIgnoreCase))
{
// skip
}
else
{
if (fi.Length < ConvertMaxFileSize)