mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 13:12:39 +01:00
Fix recent clear not deleting file with diff original file
This commit is contained in:
parent
9d9d1de0df
commit
0a25f4dd2b
@ -4241,7 +4241,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
var clearHistoryMenuItem = new ToolStripMenuItem(LanguageSettings.Current.DvdSubRip.Clear);
|
||||
clearHistoryMenuItem.Click += (sender, args) =>
|
||||
{
|
||||
Configuration.Settings.RecentFiles.Files.RemoveAll(entry => entry.FileName != _fileName);
|
||||
Configuration.Settings.RecentFiles.Files.RemoveAll(entry => entry.FileName != _fileName || entry.FileName == _fileName && entry.OriginalFileName != _subtitleOriginalFileName);
|
||||
UpdateRecentFilesUI();
|
||||
};
|
||||
UiUtil.FixFonts(clearHistoryMenuItem);
|
||||
|
Loading…
Reference in New Issue
Block a user