mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Merge pull request #4973 from OmrSi/recent-file-clear-patch
Don't remove current file when clearing recent files
This commit is contained in:
commit
4692fc840d
@ -3799,7 +3799,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
var clearHistoryMenuItem = new ToolStripMenuItem(LanguageSettings.Current.DvdSubRip.Clear);
|
||||
clearHistoryMenuItem.Click += (sender, args) =>
|
||||
{
|
||||
Configuration.Settings.RecentFiles.Files.Clear();
|
||||
Configuration.Settings.RecentFiles.Files.RemoveAll(entry => entry.FileName != _fileName);
|
||||
UpdateRecentFilesUI();
|
||||
};
|
||||
UiUtil.FixFonts(clearHistoryMenuItem);
|
||||
|
Loading…
Reference in New Issue
Block a user