Skip to content

Commit 989206b

Browse files
committed
Add is empty for HotkeyModel
1 parent 1d2aa96 commit 989206b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Flow.Launcher.Infrastructure/Hotkey/HotkeyModel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ public ModifierKeys ModifierKeys
4949
}
5050
}
5151

52+
public readonly bool IsEmpty => CharKey == Key.None && !Alt && !Shift && !Win && !Ctrl;
53+
5254
public HotkeyModel(string hotkeyString)
5355
{
5456
Parse(hotkeyString);

0 commit comments

Comments
 (0)