1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-12-25 01:39:23 +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;
public UiSystem System {
get => this.system;
set {
private set {
this.system = value;
if (this.system != null && !this.HasCustomStyle)
this.InitStyle(this.system.Style);