mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
No need to check hotkey command when removing
This commit is contained in:
parent
7d0cf1fb7a
commit
805b8efe04
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue