diff --git a/src/core/Microsoft.PowerToys.Settings.UI.Lib/HotkeySettings.cs b/src/core/Microsoft.PowerToys.Settings.UI.Lib/HotkeySettings.cs index c76d52eb2d..6d5dee93a6 100644 --- a/src/core/Microsoft.PowerToys.Settings.UI.Lib/HotkeySettings.cs +++ b/src/core/Microsoft.PowerToys.Settings.UI.Lib/HotkeySettings.cs @@ -56,6 +56,11 @@ namespace Microsoft.PowerToys.Settings.UI.Lib [JsonPropertyName("code")] public int Code { get; set; } + // This is currently needed for FancyZones, we need to unify these two objects + // see src\common\settings_objects.h + [JsonPropertyName("key")] + public string Key { get; set; } = string.Empty; + public override string ToString() { StringBuilder output = new StringBuilder();