From 805b8efe0422ff9cec0710c62066f7579e4917f5 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Wed, 2 Jul 2025 17:05:13 +0800 Subject: [PATCH] No need to check hotkey command when removing --- Flow.Launcher/Helper/HotKeyMapper.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Flow.Launcher/Helper/HotKeyMapper.cs b/Flow.Launcher/Helper/HotKeyMapper.cs index f4a4b121f..cd7a501e3 100644 --- a/Flow.Launcher/Helper/HotKeyMapper.cs +++ b/Flow.Launcher/Helper/HotKeyMapper.cs @@ -374,8 +374,7 @@ internal static class HotKeyMapper private static void RemoveHotkey(RegisteredHotkeyData hotkeyData) { if (hotkeyData is null || // Hotkey data is invalid - hotkeyData.Hotkey.IsEmpty || // Hotkey is none - hotkeyData.Command is null) // No need to set - it is a system command + hotkeyData.Hotkey.IsEmpty) // Hotkey is none { return; }