mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +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;
|
||||
_videoFileName = videoFileName;
|
||||
_videoInfo = videoInfo;
|
||||
|
||||
_subtitleWithNewHeader = new Subtitle(_subtitle, false);
|
||||
if (_subtitleWithNewHeader.Header == null)
|
||||
{
|
||||
_subtitleWithNewHeader.Header = AdvancedSubStationAlpha.DefaultHeader;
|
||||
}
|
||||
|
||||
_selectedIndices = selectedIndices;
|
||||
radioButtonSelectedLines.Checked = true;
|
||||
Text = LanguageSettings.Current.AssaSetPosition.SetPosition;
|
||||
|
Loading…
Reference in New Issue
Block a user