1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-30 15:40:31 +08:00

Fix a possible nullref when login fails

This commit is contained in:
Dean Herbert
2017-08-18 10:48:35 +09:00
Unverified
parent 4ad99a2464
commit e4b832e8a6
@@ -171,7 +171,7 @@ namespace osu.Game.Overlays.Settings.Sections.General
break;
}
if (form != null) GetContainingInputManager().ChangeFocus(form);
if (form != null) GetContainingInputManager()?.ChangeFocus(form);
}
public override bool AcceptsFocus => true;