From f2358a56e8edd5a1e623974cd12b631a90045aac Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Wed, 25 Jun 2025 22:20:28 +0800 Subject: [PATCH] Fix hotkey control construction issue --- Flow.Launcher/SettingPages/Views/SettingsPaneHotkey.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher/SettingPages/Views/SettingsPaneHotkey.xaml.cs b/Flow.Launcher/SettingPages/Views/SettingsPaneHotkey.xaml.cs index d04b48299..ddc5492ad 100644 --- a/Flow.Launcher/SettingPages/Views/SettingsPaneHotkey.xaml.cs +++ b/Flow.Launcher/SettingPages/Views/SettingsPaneHotkey.xaml.cs @@ -68,9 +68,9 @@ public partial class SettingsPaneHotkey // TODO: Check if this can use var hotkeyControl = new HotkeyControl { + Type = HotkeyControl.HotkeyType.CustomQueryHotkey, DefaultHotkey = hotkey.DefaultHotkey, Hotkey = hotkeySetting, - Type = HotkeyControl.HotkeyType.CustomQueryHotkey, ValidateKeyGesture = true }; card.Content = hotkeyControl;