1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-18 08:06:04 +02:00

Fixed some file/dir deleting issues

This commit is contained in:
Brian Fiete 2020-05-20 06:43:41 -07:00
parent 9a2d200b70
commit 387ba470d4
5 changed files with 46 additions and 11 deletions

View file

@ -249,7 +249,8 @@ namespace IDE
{
mParentFolder.mChildMap.Remove(mName);
mName.Set(newName);
mParentFolder.mChildMap.Add(mName, this);
bool added = mParentFolder.mChildMap.TryAdd(mName, this);
Debug.Assert(added);
}
if ((didNameMatch) && (changePath))