Add missing `rulesetID` check for global action matching

This commit is contained in:
Dean Herbert 2021-06-18 17:12:01 +09:00
parent d06e52505a
commit d5a1524eb0
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public IReadOnlyList<string> GetReadableKeyCombinationsFor(GlobalAction globalAc
using (var context = realmFactory.GetForRead())
{
foreach (var action in context.Realm.All<RealmKeyBinding>().Where(b => (GlobalAction)b.ActionInt == globalAction))
foreach (var action in context.Realm.All<RealmKeyBinding>().Where(b => b.RulesetID == null && (GlobalAction)b.ActionInt == globalAction))
{
string str = action.KeyCombination.ReadableString();