mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
Use file name from .ts file, after import/ocr - thx Christophe :)
This commit is contained in:
parent
51d89bbdd6
commit
ce428b54f6
@ -9538,6 +9538,11 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
SubtitleListview1.SelectIndexAndEnsureVisible(0);
|
||||
|
||||
_fileName = string.Empty;
|
||||
if (!string.IsNullOrEmpty(formSubOcr.FileName))
|
||||
{
|
||||
_fileName = Path.GetFileNameWithoutExtension(formSubOcr.FileName);
|
||||
_converted = true;
|
||||
}
|
||||
Text = Title;
|
||||
|
||||
Configuration.Settings.Save();
|
||||
|
Loading…
Reference in New Issue
Block a user