Esempio n. 1
0
 private void ValidateAndAddKeyShortcuts(Dictionary <string, string> shortcuts)
 {
     foreach (var shortcut in shortcuts)
     {
         if (string.IsNullOrEmpty(shortcut.Value))
         {
             Log.Warning($"Shortcut command is empty \"{shortcut.Key}\"");
             continue;
         }
         if (keyHandler.GetKeyCombination(shortcut.Key, out ulong[] keys) == false)