Фикс говняхи

This commit is contained in:
Mona Hmiza
2023-05-11 19:06:20 +03:00
committed by Aviu00
parent 12bdddcbd9
commit eb1f363f90

View File

@@ -95,11 +95,15 @@ public sealed class MenuButton : ContainerButton
private void OnKeyBindingChanged(IKeyBinding obj) private void OnKeyBindingChanged(IKeyBinding obj)
{ {
if(string.IsNullOrEmpty(_function.FunctionName)) return; //WD EDIT
_buttonLabel!.Text = BoundKeyHelper.ShortKeyName(_function); _buttonLabel!.Text = BoundKeyHelper.ShortKeyName(_function);
} }
private void OnKeyBindingChanged() private void OnKeyBindingChanged()
{ {
if(string.IsNullOrEmpty(_function.FunctionName)) return; //WD EDIT
_buttonLabel!.Text = BoundKeyHelper.ShortKeyName(_function); _buttonLabel!.Text = BoundKeyHelper.ShortKeyName(_function);
} }