1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 01:43:15 +08:00

Fix initial login state not being reflected in user panel

This commit is contained in:
Dean Herbert 2017-05-25 22:43:33 +09:00
parent 47be8b42aa
commit 9eec2edd30

View File

@ -134,7 +134,6 @@ namespace osu.Game.Overlays.Settings.Sections.General
panel.Status.BindTo(api.LocalUser.Value.Status);
dropdown.Current.TriggerChange();
dropdown.Current.ValueChanged += newValue =>
{
switch (newValue)
@ -156,6 +155,8 @@ namespace osu.Game.Overlays.Settings.Sections.General
break;
}
};
dropdown.Current.TriggerChange();
break;
}