Skip to content

Commit 1d2aa96

Browse files
committed
Add property changed for CustomPluginHotkey
1 parent afdb56d commit 1d2aa96

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

Flow.Launcher.Infrastructure/UserSettings/PluginHotkey.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,20 @@ namespace Flow.Launcher.Infrastructure.UserSettings
44
{
55
public class CustomPluginHotkey : BaseModel
66
{
7-
public string Hotkey { get; set; }
7+
private string _hotkey = string.Empty;
8+
public string Hotkey
9+
{
10+
get => _hotkey;
11+
set
12+
{
13+
if (_hotkey != value)
14+
{
15+
_hotkey = value;
16+
OnPropertyChanged();
17+
}
18+
}
19+
}
20+
821
public string ActionKeyword { get; set; }
922
}
1023
}

0 commit comments

Comments
 (0)