Include Header/Footer in Subtitle copy-construtor (resulted in unwanted loss of styles in e.g. batch convert or fix common errors)

This commit is contained in:
niksedk 2015-06-22 18:52:27 +02:00
parent 2c134a3766
commit 4eb0184806

View File

@ -62,6 +62,8 @@ namespace Nikse.SubtitleEdit.Logic
_paragraphs.Add(new Paragraph(p));
}
_wasLoadedWithFrameNumbers = subtitle.WasLoadedWithFrameNumbers;
Header = subtitle.Header;
Footer = subtitle.Footer;
}
public List<Paragraph> Paragraphs