Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Files.App/Data/Commands/HotKey/HotKey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ public HotKey(Keys key, KeyModifiers modifier = KeyModifiers.None, bool isVisibl
/// <returns>Humanized code with a format <see cref="HotKey"/>.</returns>
public static HotKey Parse(string code, bool localized = true)
{
if (string.IsNullOrEmpty(code))
return None;

var key = Keys.None;
var modifier = KeyModifiers.None;
bool isVisible = true;
Expand Down
Loading