mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 03:33:18 +01:00
Fix some issues with backup shortcut
This commit is contained in:
parent
81106f76e6
commit
3f38a30f61
@ -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