mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Tweaks: Return if subtitle is empty.
This commit is contained in:
parent
453d4dd802
commit
dc5a479046
@ -92,6 +92,11 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
private void AddWaterMark(Subtitle subtitle, string input)
|
||||
{
|
||||
if (subtitle == null || subtitle.Paragraphs.Count == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
byte[] buffer = Encoding.ASCII.GetBytes(input);
|
||||
|
||||
if (radioButtonCurrentLine.Checked)
|
||||
|
Loading…
Reference in New Issue
Block a user