We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff566bb commit 8cf17ebCopy full SHA for 8cf17eb
src/Files.App/Data/Commands/HotKey/HotKey.cs
@@ -308,7 +308,7 @@ public static HotKey Parse(string code, bool localized = true)
308
{
309
parts = [code];
310
}
311
- else if (parts.Count > 0 && string.IsNullOrEmpty(parts.Last()))
+ else if (parts.Count > 1 && string.IsNullOrEmpty(parts.Last()))
312
313
// If the last part is empty, remove it and add a "+" to the last non-empty part
314
parts.RemoveAt(parts.Count - 1);
0 commit comments