mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 07:14:09 +02:00
Fixed file rename with entry in recent file list
This commit is contained in:
parent
64af84f0de
commit
05d5b5f594
1 changed files with 10 additions and 0 deletions
|
@ -12496,6 +12496,16 @@ namespace IDE
|
|||
String newFileName = scope String();
|
||||
Path.GetFileName(newPath, newFileName);
|
||||
|
||||
for (var entry in mRecentlyDisplayedFiles)
|
||||
{
|
||||
if (Path.Equals(entry, oldPath))
|
||||
{
|
||||
entry.Set(newPath);
|
||||
UpdateRecentFileMenuItems();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
RenameEditData(oldPath, newPath);
|
||||
|
||||
WithTabs(scope (tab) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue