From 497ac9118eadd4517b94891e68c3cc96ae98cb97 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Mon, 17 Mar 2025 16:19:41 +0800 Subject: [PATCH] Add None hotkey type --- Flow.Launcher/HotkeyControl.xaml.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Flow.Launcher/HotkeyControl.xaml.cs b/Flow.Launcher/HotkeyControl.xaml.cs index d5d29055f..c47e86ff1 100644 --- a/Flow.Launcher/HotkeyControl.xaml.cs +++ b/Flow.Launcher/HotkeyControl.xaml.cs @@ -84,7 +84,7 @@ namespace Flow.Launcher nameof(Type), typeof(HotkeyType), typeof(HotkeyControl), - new FrameworkPropertyMetadata(HotkeyType.CustomQueryHotkey, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnHotkeyChanged) + new FrameworkPropertyMetadata(HotkeyType.None, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnHotkeyChanged) ); public HotkeyType Type @@ -95,6 +95,7 @@ namespace Flow.Launcher public enum HotkeyType { + None, // Custom query hotkeys CustomQueryHotkey, // Settings hotkeys