Skip to content

Commit 805b8ef

Browse files
committed
No need to check hotkey command when removing
1 parent 7d0cf1f commit 805b8ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Flow.Launcher/Helper/HotKeyMapper.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,7 @@ private static void SetHotkey(RegisteredHotkeyData hotkeyData)
374374
private static void RemoveHotkey(RegisteredHotkeyData hotkeyData)
375375
{
376376
if (hotkeyData is null || // Hotkey data is invalid
377-
hotkeyData.Hotkey.IsEmpty || // Hotkey is none
378-
hotkeyData.Command is null) // No need to set - it is a system command
377+
hotkeyData.Hotkey.IsEmpty) // Hotkey is none
379378
{
380379
return;
381380
}

0 commit comments

Comments
 (0)