Browse Source

Update warning message

Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
pull/4737/head
workgroupengineering 6 years ago
committed by Giuseppe Lippolis
parent
commit
abff848c8d
  1. 2
      src/Avalonia.Controls/HotkeyManager.cs

2
src/Avalonia.Controls/HotkeyManager.cs

@ -108,7 +108,7 @@ namespace Avalonia.Controls
if (args.OldValue != null || control == null || !(control is ICommandSource))
{
Logging.Logger.TryGet(Logging.LogEventLevel.Warning, Logging.LogArea.Control)?.
Log(control, $"The element {args.Sender.GetType().Name} do not support HotKey({args.NewValue}).");
Log(control, $"The element {args.Sender.GetType().Name} does not support binding a HotKey ({args.NewValue}).");
return;
}

Loading…
Cancel
Save