mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
Merge pull request #8925 from ivandrofly/typo-fix
Fix typo in variable name 'ImportedSubitle' to 'ImportedSubtitle' 🔃
This commit is contained in:
commit
46d27c25d2
@ -10,7 +10,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
{
|
{
|
||||||
public partial class ImportUnknownFormat : Form
|
public partial class ImportUnknownFormat : Form
|
||||||
{
|
{
|
||||||
public Subtitle ImportedSubitle { get; private set; }
|
public Subtitle ImportedSubtitle { get; private set; }
|
||||||
private readonly Timer _refreshTimer = new Timer();
|
private readonly Timer _refreshTimer = new Timer();
|
||||||
|
|
||||||
public ImportUnknownFormat(string fileName)
|
public ImportUnknownFormat(string fileName)
|
||||||
@ -47,10 +47,10 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
private void GeneratePreviewReal()
|
private void GeneratePreviewReal()
|
||||||
{
|
{
|
||||||
var uknownFormatImporter = new UnknownFormatImporter { UseFrames = radioButtonTimeCodeFrames.Checked };
|
var uknownFormatImporter = new UnknownFormatImporter { UseFrames = radioButtonTimeCodeFrames.Checked };
|
||||||
ImportedSubitle = uknownFormatImporter.AutoGuessImport(textBoxText.Lines.ToList());
|
ImportedSubtitle = uknownFormatImporter.AutoGuessImport(textBoxText.Lines.ToList());
|
||||||
groupBoxImportResult.Text = string.Format(LanguageSettings.Current.ImportText.PreviewLinesModifiedX, ImportedSubitle.Paragraphs.Count);
|
groupBoxImportResult.Text = string.Format(LanguageSettings.Current.ImportText.PreviewLinesModifiedX, ImportedSubtitle.Paragraphs.Count);
|
||||||
SubtitleListview1.Fill(ImportedSubitle);
|
SubtitleListview1.Fill(ImportedSubtitle);
|
||||||
if (ImportedSubitle.Paragraphs.Count > 0)
|
if (ImportedSubtitle.Paragraphs.Count > 0)
|
||||||
{
|
{
|
||||||
SubtitleListview1.SelectIndexAndEnsureVisible(0);
|
SubtitleListview1.SelectIndexAndEnsureVisible(0);
|
||||||
}
|
}
|
||||||
|
@ -18638,9 +18638,9 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
{
|
{
|
||||||
if (form.ShowDialog(this) == DialogResult.OK)
|
if (form.ShowDialog(this) == DialogResult.OK)
|
||||||
{
|
{
|
||||||
if (form.ImportedSubitle?.Paragraphs.Count > 0)
|
if (form.ImportedSubtitle?.Paragraphs.Count > 0)
|
||||||
{
|
{
|
||||||
_subtitle = form.ImportedSubitle;
|
_subtitle = form.ImportedSubtitle;
|
||||||
_fileName = null;
|
_fileName = null;
|
||||||
SubtitleListview1.Fill(_subtitle, _subtitleOriginal);
|
SubtitleListview1.Fill(_subtitle, _subtitleOriginal);
|
||||||
SetTitle();
|
SetTitle();
|
||||||
|
Loading…
Reference in New Issue
Block a user