mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:07:52 +08:00
Fix tests dying on a nullref
This commit is contained in:
parent
807d982a72
commit
7255cc3344
@ -64,7 +64,7 @@ namespace osu.Game.Screens.Edit.Setup
|
||||
//
|
||||
// This is important to ensure that if the user is still editing a textbox, it will commit
|
||||
// (and potentially block the exit procedure for save).
|
||||
GetContainingFocusManager().TriggerFocusContention(this);
|
||||
GetContainingFocusManager()?.TriggerFocusContention(this);
|
||||
}
|
||||
|
||||
private partial class SetupScreenSectionsContainer : SectionsContainer<SetupSection>
|
||||
|
Loading…
Reference in New Issue
Block a user