Skip to content

Commit e72e188

Browse files
committed
Display nothing instead of <no hotkey> when a hotkey is unassigned
1 parent 8e67923 commit e72e188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/TSMapEditor/UI/KeyboardCommand.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public string GetKeyDisplayString(bool allowModifiersOnly)
3232
if (Key == Keys.None)
3333
{
3434
if (!allowModifiersOnly || Modifiers == KeyboardModifiers.None)
35-
return "<no hotkey>";
35+
return "";
3636

3737
// Build a different kind of string when there's only modifiers
3838

0 commit comments

Comments
 (0)