mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 13:12:39 +01:00
Merge pull request #5728 from OmrSi/fix-recent-clear-for-file-with-original
Fix recent clear not deleting file with diff original file
This commit is contained in:
commit
956475675e
@ -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