mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add ToString
This commit is contained in:
parent
40f1fc6421
commit
f63b8bd2fc
1 changed files with 6 additions and 0 deletions
|
|
@ -232,6 +232,12 @@ public record RegisteredHotkeyData
|
|||
CommandParameter = parameter;
|
||||
RemoveHotkey = removeHotkey;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string ToString()
|
||||
{
|
||||
return Hotkey.IsEmpty ? $"{RegisteredType} - {Hotkey}" : $"{RegisteredType} - None";
|
||||
}
|
||||
}
|
||||
|
||||
public enum RegisteredHotkeyType
|
||||
|
|
|
|||
Loading…
Reference in a new issue