Hotkeys - if a hotkey isn't found, return an empty object rather than null, so that at least it doesn't call exceptions in menu items that reference them for shortcut key strings
This commit is contained in:
parent
7065588c1c
commit
911385aff6
|
@ -867,7 +867,7 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
get
|
||||
{
|
||||
return Bindings.FirstOrDefault(x => x.DisplayName == index) ?? null;
|
||||
return Bindings.FirstOrDefault(x => x.DisplayName == index) ?? new Binding();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue