mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 17:27:48 +08:00
Merge pull request #25323 from bdach/fix-key-binding-test-failures
Fix key binding row fire-and-forgetting writes
This commit is contained in:
commit
95d8ee8e9b
@ -498,7 +498,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
|
||||
if (existingBinding == null)
|
||||
{
|
||||
realm.WriteAsync(r => r.Find<RealmKeyBinding>(keyBinding.ID)!.KeyCombinationString = keyBinding.KeyCombination.ToString());
|
||||
realm.Write(r => r.Find<RealmKeyBinding>(keyBinding.ID)!.KeyCombinationString = keyBinding.KeyCombination.ToString());
|
||||
BindingUpdated?.Invoke(this, new KeyBindingUpdatedEventArgs(bindingConflictResolved: false, advanceToNextBinding));
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user