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:
parent
4ad99a2464
commit
e4b832e8a6
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user