mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 05:02:36 +01:00
Work on #8332
This commit is contained in:
parent
8c14075f4b
commit
3e312b682c
@ -590,6 +590,8 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
stopWatch = Stopwatch.StartNew();
|
stopWatch = Stopwatch.StartNew();
|
||||||
if (!ConvertVideo(oldFontSizeEnabled, _inputVideoFileName, _assaSubtitle))
|
if (!ConvertVideo(oldFontSizeEnabled, _inputVideoFileName, _assaSubtitle))
|
||||||
{
|
{
|
||||||
|
buttonGenerate.Enabled = true;
|
||||||
|
numericUpDownFontSize.Enabled = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -606,6 +608,8 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
if (_abort)
|
if (_abort)
|
||||||
{
|
{
|
||||||
DialogResult = DialogResult.Cancel;
|
DialogResult = DialogResult.Cancel;
|
||||||
|
buttonGenerate.Enabled = true;
|
||||||
|
numericUpDownFontSize.Enabled = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -631,6 +635,9 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
f.ShowDialog(this);
|
f.ShowDialog(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buttonGenerate.Enabled = true;
|
||||||
|
numericUpDownFontSize.Enabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool ConvertVideo(bool oldFontSizeEnabled, string videoFileName, Subtitle subtitle)
|
private bool ConvertVideo(bool oldFontSizeEnabled, string videoFileName, Subtitle subtitle)
|
||||||
|
Loading…
Reference in New Issue
Block a user