Add property changed for CustomPluginHotkey

This commit is contained in:
Jack251970 2025-07-02 12:57:22 +08:00
parent afdb56df44
commit 1d2aa96dcc

View file

@ -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; }
}
}