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

Fix a possible nullref when login fails

This commit is contained in:
Dean Herbert 2017-08-18 10:48:35 +09:00
parent 4ad99a2464
commit e4b832e8a6

View File

@ -171,7 +171,7 @@ namespace osu.Game.Overlays.Settings.Sections.General
break; break;
} }
if (form != null) GetContainingInputManager().ChangeFocus(form); if (form != null) GetContainingInputManager()?.ChangeFocus(form);
} }
public override bool AcceptsFocus => true; public override bool AcceptsFocus => true;