From c030d075dd5a99de462394206d02681c3498773f Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 10 Aug 2019 21:41:20 +0200 Subject: [PATCH] also this should only be settable from inside --- MLEM.Ui/Elements/Element.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MLEM.Ui/Elements/Element.cs b/MLEM.Ui/Elements/Element.cs index 952caab..da969a5 100644 --- a/MLEM.Ui/Elements/Element.cs +++ b/MLEM.Ui/Elements/Element.cs @@ -72,7 +72,7 @@ namespace MLEM.Ui.Elements { private UiSystem system; public UiSystem System { get => this.system; - set { + private set { this.system = value; if (this.system != null && !this.HasCustomStyle) this.InitStyle(this.system.Style);