1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-26 14:38:34 +01:00

also this should only be settable from inside

This commit is contained in:
Ellpeck 2019-08-10 21:41:20 +02:00
parent 2ee2b2ec69
commit c030d075dd

View file

@ -72,7 +72,7 @@ namespace MLEM.Ui.Elements {
private UiSystem system; private UiSystem system;
public UiSystem System { public UiSystem System {
get => this.system; get => this.system;
set { private set {
this.system = value; this.system = value;
if (this.system != null && !this.HasCustomStyle) if (this.system != null && !this.HasCustomStyle)
this.InitStyle(this.system.Style); this.InitStyle(this.system.Style);