From 1d2aa96dcc94faee06547bf7379b0bf77bce97cc Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Wed, 2 Jul 2025 12:57:22 +0800 Subject: [PATCH] Add property changed for CustomPluginHotkey --- .../UserSettings/PluginHotkey.cs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Flow.Launcher.Infrastructure/UserSettings/PluginHotkey.cs b/Flow.Launcher.Infrastructure/UserSettings/PluginHotkey.cs index 9dc395aca..b67bba57f 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/PluginHotkey.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/PluginHotkey.cs @@ -4,7 +4,20 @@ namespace Flow.Launcher.Infrastructure.UserSettings { public class CustomPluginHotkey : BaseModel { - public string Hotkey { get; set; } + private string _hotkey = string.Empty; + public string Hotkey + { + get => _hotkey; + set + { + if (_hotkey != value) + { + _hotkey = value; + OnPropertyChanged(); + } + } + } + public string ActionKeyword { get; set; } } }