public void UpdateNoteKeys(FFXIVKeybindDat hotkeys) { KeyboardLetterList list = keyboardData.letterList; foreach (string key in list.Keys) { list[key].key = string.Empty; string pk = FFXIVKeybindDat.NoteKeyToPerformanceKey(key); if (!string.IsNullOrEmpty(pk)) { list[key].key = hotkeys[pk].ToString(); } } this.Refresh(); }