Do not validate key gesture for plugin hotkeys

This commit is contained in:
Jack251970 2025-07-10 22:09:20 +08:00
parent e8707addd0
commit 40ba1aea40

View file

@ -82,9 +82,9 @@ public partial class SettingsPaneHotkey
HotkeyControl.HotkeyType.GlobalPluginHotkey :
HotkeyControl.HotkeyType.WindowPluginHotkey,
DefaultHotkey = hotkey.DefaultHotkey,
ValidateKeyGesture = true
ValidateKeyGesture = false,
Hotkey = hotkeySetting
};
hotkeyControl.SetHotkey(hotkeySetting, true);
hotkeyControl.ChangeHotkey = new RelayCommand<HotkeyModel>((h) => ChangePluginHotkey(metadata, hotkey, h));
card.Content = hotkeyControl;
}