From 40ba1aea4090da19f9a1fe2eb6c8435063fbaa2e Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Thu, 10 Jul 2025 22:09:20 +0800 Subject: [PATCH] Do not validate key gesture for plugin hotkeys --- Flow.Launcher/SettingPages/Views/SettingsPaneHotkey.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher/SettingPages/Views/SettingsPaneHotkey.xaml.cs b/Flow.Launcher/SettingPages/Views/SettingsPaneHotkey.xaml.cs index b99ea6e6d..a93a77716 100644 --- a/Flow.Launcher/SettingPages/Views/SettingsPaneHotkey.xaml.cs +++ b/Flow.Launcher/SettingPages/Views/SettingsPaneHotkey.xaml.cs @@ -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((h) => ChangePluginHotkey(metadata, hotkey, h)); card.Content = hotkeyControl; }