mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +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();
|
||||
if (!ConvertVideo(oldFontSizeEnabled, _inputVideoFileName, _assaSubtitle))
|
||||
{
|
||||
buttonGenerate.Enabled = true;
|
||||
numericUpDownFontSize.Enabled = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -606,6 +608,8 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
if (_abort)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
buttonGenerate.Enabled = true;
|
||||
numericUpDownFontSize.Enabled = true;
|
||||
return;
|
||||
}
|
||||
|
||||
@ -631,6 +635,9 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
f.ShowDialog(this);
|
||||
}
|
||||
}
|
||||
|
||||
buttonGenerate.Enabled = true;
|
||||
numericUpDownFontSize.Enabled = true;
|
||||
}
|
||||
|
||||
private bool ConvertVideo(bool oldFontSizeEnabled, string videoFileName, Subtitle subtitle)
|
||||
|
Loading…
Reference in New Issue
Block a user