mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
...and also fixed direct undo shortcut/menu-item-click
This commit is contained in:
parent
6c88629e74
commit
ab71b183c8
@ -5626,7 +5626,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
}
|
||||
}
|
||||
|
||||
if (oldFileName.Equals(_fileName, StringComparison.OrdinalIgnoreCase))
|
||||
if (oldFileName == null || oldFileName.Equals(_fileName, StringComparison.OrdinalIgnoreCase))
|
||||
_fileDateTime = oldFileDateTime; // undo will not give overwrite-newer-file warning
|
||||
|
||||
comboBoxSubtitleFormats.SelectedIndexChanged -= ComboBoxSubtitleFormatsSelectedIndexChanged;
|
||||
|
Loading…
Reference in New Issue
Block a user