Resolve conflicts

This commit is contained in:
Jack251970 2025-10-14 18:43:47 +08:00
parent e2ccbe577e
commit 7859db0432

View file

@ -73,8 +73,6 @@ public partial class SettingsPaneHotkeyViewModel : BaseModel
if (index >= 0 && index < Settings.CustomPluginHotkeys.Count)
{
Settings.CustomPluginHotkeys[index] = new CustomPluginHotkey(window.Hotkey, window.ActionKeyword);
HotKeyMapper.RemoveHotkey(settingItem.Hotkey); // remove origin hotkey
HotKeyMapper.SetCustomQueryHotkey(Settings.CustomPluginHotkeys[index]); // set new hotkey
}
}