From 4ef80ee6c4c5c416ba15bc97f76bccf9240c18a8 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 25 Oct 2017 23:21:47 +0900 Subject: [PATCH] Fix potential incorrect update in KeyBindingStore --- osu.Game/Input/KeyBindingStore.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osu.Game/Input/KeyBindingStore.cs b/osu.Game/Input/KeyBindingStore.cs index e21597130a..3407705909 100644 --- a/osu.Game/Input/KeyBindingStore.cs +++ b/osu.Game/Input/KeyBindingStore.cs @@ -76,7 +76,8 @@ namespace osu.Game.Input Refresh(ref dbKeyBinding); - context.Update(dbKeyBinding); + dbKeyBinding.KeyCombination = keyBinding.KeyCombination; + context.SaveChanges(); KeyBindingChanged?.Invoke();