mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-12-25 01:39:23 +01:00
remove should remove the system
This commit is contained in:
parent
0c8af5b9bf
commit
2ee2b2ec69
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ namespace MLEM.Ui.Elements {
|
|||
public void RemoveChild(Element element) {
|
||||
this.children.Remove(element);
|
||||
element.Parent = null;
|
||||
element.PropagateUiSystem(this.System);
|
||||
element.PropagateUiSystem(null);
|
||||
this.SetDirty();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue