Skip to content

Commit f63b8bd

Browse files
committed
Add ToString
1 parent 40f1fc6 commit f63b8bd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Flow.Launcher.Infrastructure/Hotkey/RegisteredHotkeyData.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,12 @@ public RegisteredHotkeyData(
232232
CommandParameter = parameter;
233233
RemoveHotkey = removeHotkey;
234234
}
235+
236+
/// <inheritdoc />
237+
public override string ToString()
238+
{
239+
return Hotkey.IsEmpty ? $"{RegisteredType} - {Hotkey}" : $"{RegisteredType} - None";
240+
}
235241
}
236242

237243
public enum RegisteredHotkeyType

0 commit comments

Comments
 (0)