diff --git a/Flow.Launcher.Infrastructure/Hotkey/RegisteredHotkeyData.cs b/Flow.Launcher.Infrastructure/Hotkey/RegisteredHotkeyData.cs index b6a10fc30..54df72c70 100644 --- a/Flow.Launcher.Infrastructure/Hotkey/RegisteredHotkeyData.cs +++ b/Flow.Launcher.Infrastructure/Hotkey/RegisteredHotkeyData.cs @@ -9,12 +9,24 @@ namespace Flow.Launcher.Infrastructure.Hotkey; /// and to display errors if user tries to register a hotkey /// that has already been registered, and optionally provides a way to unregister the hotkey. /// -public record RegisteredHotkeyData +public class RegisteredHotkeyData : BaseModel { /// /// representation of this hotkey. /// - public HotkeyModel Hotkey { get; } + private HotkeyModel _hotkey; + public HotkeyModel Hotkey + { + get => _hotkey; + set + { + if (!_hotkey.Equals(value)) + { + _hotkey = value; + OnPropertyChanged(); + } + } + } /// /// String key in the localization dictionary that represents this hotkey. For example, ReloadPluginHotkey,