Fix some issues with backup shortcut

This commit is contained in:
OmrSi 2022-03-27 06:52:36 +03:00
parent 81106f76e6
commit 3f38a30f61

View File

@ -15929,9 +15929,9 @@ namespace Nikse.SubtitleEdit.Forms
}
}
if (_subtitleOriginal != null)
if (_subtitleOriginalFileName != null && _subtitleOriginal != null && _subtitleOriginal.Paragraphs.Count > 0)
{
SaveAutoBackup(_subtitle, saveFormat, _subtitleOriginal.ToText(saveFormat));
SaveAutoBackup(_subtitleOriginal, saveFormat, _subtitleOriginal.ToText(saveFormat));
}
e.SuppressKeyPress = true;