Skip to content

Commit

Permalink
Update KeyboardShortcuts.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
gablm committed Mar 6, 2024
1 parent 0ebdd1c commit b29cca5
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,11 @@ public static KbShortcut FromOldKeyList(string[] strings)
VirtualKey key = (VirtualKey)Enum.Parse(typeof(VirtualKey), strings[1]);
return new KbShortcut { Modifier = mod, Key = key };
}

public override string ToString()
{
return GetFormattedModifier() + "," + GetKey();
}
}
#endregion

Expand Down

0 comments on commit b29cca5

Please sign in to comment.