1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 17:27:24 +08:00

Fix tests dying on a nullref

This commit is contained in:
Bartłomiej Dach 2024-05-24 11:25:29 +02:00
parent 807d982a72
commit 7255cc3344
No known key found for this signature in database

View File

@ -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>