Allow saving first line without text when clicking "Save" toolbar item - thx PM :)

This commit is contained in:
Nikolaj Olsson 2021-04-30 16:54:13 +02:00
parent f97f248fb1
commit a3bf9d16d7

View File

@ -5433,7 +5433,7 @@ namespace Nikse.SubtitleEdit.Forms
private void SaveAll(bool useOnly0AForNewLine = false)
{
if (!IsSubtitleLoaded)
if (_subtitle == null || _subtitle.Paragraphs.Count == 0)
{
ShowStatus(_language.CannotSaveEmptySubtitle);
return;