mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 02:03:22 +08:00
Ensure any changes are committed before changing LadderEditorSettings
's target match
This commit is contained in:
parent
83703e28e6
commit
214351a87e
@ -53,6 +53,9 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
|
||||
|
||||
editorInfo.Selected.ValueChanged += selection =>
|
||||
{
|
||||
// ensure any ongoing edits are committed out to the *current* selection before changing to a new one.
|
||||
GetContainingInputManager().TriggerFocusContention(null);
|
||||
|
||||
roundDropdown.Current = selection.NewValue?.Round;
|
||||
losersCheckbox.Current = selection.NewValue?.Losers;
|
||||
dateTimeBox.Current = selection.NewValue?.Date;
|
||||
|
Loading…
Reference in New Issue
Block a user