From bb99a76f6155c0b4dc653c9964a22747e64d8e0f Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Mon, 9 Sep 2019 18:49:34 +0200 Subject: [PATCH] fixed old selections staying behind on re-added uis --- MLEM.Ui/UiSystem.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MLEM.Ui/UiSystem.cs b/MLEM.Ui/UiSystem.cs index b89e8db..d64accd 100644 --- a/MLEM.Ui/UiSystem.cs +++ b/MLEM.Ui/UiSystem.cs @@ -132,6 +132,7 @@ namespace MLEM.Ui { e.Root = null; e.System = null; }); + root.SelectElement(null); } public RootElement Get(string name) {