From 989206b59c6e87a9f0abf41b077ff1cb84ced16b Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Wed, 2 Jul 2025 12:57:45 +0800 Subject: [PATCH] Add is empty for HotkeyModel --- Flow.Launcher.Infrastructure/Hotkey/HotkeyModel.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Flow.Launcher.Infrastructure/Hotkey/HotkeyModel.cs b/Flow.Launcher.Infrastructure/Hotkey/HotkeyModel.cs index 0885f6598..bcfd795e9 100644 --- a/Flow.Launcher.Infrastructure/Hotkey/HotkeyModel.cs +++ b/Flow.Launcher.Infrastructure/Hotkey/HotkeyModel.cs @@ -49,6 +49,8 @@ namespace Flow.Launcher.Infrastructure.Hotkey } } + public readonly bool IsEmpty => CharKey == Key.None && !Alt && !Shift && !Win && !Ctrl; + public HotkeyModel(string hotkeyString) { Parse(hotkeyString);