mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Fix crash in set ASSA pos
This commit is contained in:
parent
96ab23cc6a
commit
6e6ff38331
@ -41,7 +41,13 @@ namespace Nikse.SubtitleEdit.Forms.Assa
|
|||||||
_subtitle = subtitle;
|
_subtitle = subtitle;
|
||||||
_videoFileName = videoFileName;
|
_videoFileName = videoFileName;
|
||||||
_videoInfo = videoInfo;
|
_videoInfo = videoInfo;
|
||||||
|
|
||||||
_subtitleWithNewHeader = new Subtitle(_subtitle, false);
|
_subtitleWithNewHeader = new Subtitle(_subtitle, false);
|
||||||
|
if (_subtitleWithNewHeader.Header == null)
|
||||||
|
{
|
||||||
|
_subtitleWithNewHeader.Header = AdvancedSubStationAlpha.DefaultHeader;
|
||||||
|
}
|
||||||
|
|
||||||
_selectedIndices = selectedIndices;
|
_selectedIndices = selectedIndices;
|
||||||
radioButtonSelectedLines.Checked = true;
|
radioButtonSelectedLines.Checked = true;
|
||||||
Text = LanguageSettings.Current.AssaSetPosition.SetPosition;
|
Text = LanguageSettings.Current.AssaSetPosition.SetPosition;
|
||||||
|
Loading…
Reference in New Issue
Block a user