From c545e4ed371b22ec2ae86c35d353882fb14608ce Mon Sep 17 00:00:00 2001 From: disarray2077 <86157825+disarray2077@users.noreply.github.com> Date: Mon, 13 Dec 2021 10:36:31 -0300 Subject: [PATCH] Fix folder renaming --- IDE/src/Project.bf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/IDE/src/Project.bf b/IDE/src/Project.bf index 1a485c0d..ce90f199 100644 --- a/IDE/src/Project.bf +++ b/IDE/src/Project.bf @@ -845,6 +845,13 @@ namespace IDE childFileItem.OnRename(childFileItem.mPath, newChildPath); + String oldFullName = scope String(); + mProject.GetProjectFullPath(childFileItem.mPath, oldFullName); + String newFullName = scope String(); + mProject.GetProjectFullPath(newChildPath, newFullName); + + IDEApp.sApp.FileRenamed(childFileItem, oldFullName, newFullName); + childFileItem.mPath.Set(newChildPath); } }