mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 20:58:34 +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) {
|
public void RemoveChild(Element element) {
|
||||||
this.children.Remove(element);
|
this.children.Remove(element);
|
||||||
element.Parent = null;
|
element.Parent = null;
|
||||||
element.PropagateUiSystem(this.System);
|
element.PropagateUiSystem(null);
|
||||||
this.SetDirty();
|
this.SetDirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue