From 9eec2edd30a56ed2281687a63980bf0a311b36b5 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 25 May 2017 22:43:33 +0900 Subject: [PATCH] Fix initial login state not being reflected in user panel --- osu.Game/Overlays/Settings/Sections/General/LoginSettings.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osu.Game/Overlays/Settings/Sections/General/LoginSettings.cs b/osu.Game/Overlays/Settings/Sections/General/LoginSettings.cs index d8db44607a..561f81d6c3 100644 --- a/osu.Game/Overlays/Settings/Sections/General/LoginSettings.cs +++ b/osu.Game/Overlays/Settings/Sections/General/LoginSettings.cs @@ -134,7 +134,6 @@ public void APIStateChanged(APIAccess api, APIState state) panel.Status.BindTo(api.LocalUser.Value.Status); - dropdown.Current.TriggerChange(); dropdown.Current.ValueChanged += newValue => { switch (newValue) @@ -156,6 +155,8 @@ public void APIStateChanged(APIAccess api, APIState state) break; } }; + dropdown.Current.TriggerChange(); + break; }