Fix crash in column paste - thx OmrSi :)

See comment b968dbcfe9 (commitcomment-39206839)
This commit is contained in:
Nikolaj Olsson 2020-05-15 19:31:45 +02:00
parent cdb310672e
commit 5cf27dda4d

View File

@ -25439,6 +25439,10 @@ namespace Nikse.SubtitleEdit.Forms
if (tmp.Paragraphs.Count == 0)
{
tmp = SubtitleFormat.LoadSubtitleFromLines(list, null);
if (tmp == null)
{
tmp = new Subtitle();
}
}
if (SubtitleListview1.SelectedItems.Count == 1 && text.Length > 0)