mirror of
https://github.com/ppy/osu.git
synced 2024-12-17 06:42:54 +08:00
Fix update method not switched across to using Guid
This commit is contained in:
parent
8961203f08
commit
61f3cc9bc2
@ -337,7 +337,7 @@ namespace osu.Game.Overlays.KeyBinding
|
|||||||
{
|
{
|
||||||
using (var usage = realmFactory.GetForWrite())
|
using (var usage = realmFactory.GetForWrite())
|
||||||
{
|
{
|
||||||
var binding = usage.Realm.Find<RealmKeyBinding>(((IHasGuidPrimaryKey)button.KeyBinding).ID.ToString());
|
var binding = usage.Realm.Find<RealmKeyBinding>(((IHasGuidPrimaryKey)button.KeyBinding).ID);
|
||||||
binding.KeyCombinationString = button.KeyBinding.KeyCombinationString;
|
binding.KeyCombinationString = button.KeyBinding.KeyCombinationString;
|
||||||
|
|
||||||
usage.Commit();
|
usage.Commit();
|
||||||
|
Loading…
Reference in New Issue
Block a user