Skip to content

Commit

Permalink
Fixed removing object not updating parent id
Browse files Browse the repository at this point in the history
  • Loading branch information
8vogt committed Feb 23, 2021
1 parent 5b72897 commit bd547c5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public bool RemoveObject(Guid id)
{
parent.ChildObjects.Add(child);
obj.ChildObjects.Remove(child);
child.ParentId = parent.Id;
}
parent.ChildObjects.Remove(obj);

Expand Down

0 comments on commit bd547c5

Please sign in to comment.