mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 09:22:54 +08:00
Merge pull request #1129 from peppy/fix-nullref
FIx a possible null reference when login fails
This commit is contained in:
commit
7f6b7e2937
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user