mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Merge pull request #5867 from OmrSi/backup-shortcut-patch
Fix some issues with backup shortcut
This commit is contained in:
commit
addb4cb20a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user