Фикс говняхи
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user