File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Flow.Launcher.Infrastructure/Hotkey Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,24 @@ namespace Flow.Launcher.Infrastructure.Hotkey;
99/// <see cref="UserSettings"/> and <see cref="IHotkeySettings"/> to display errors if user tries to register a hotkey
1010/// that has already been registered, and optionally provides a way to unregister the hotkey.
1111/// </summary>
12- public record RegisteredHotkeyData
12+ public class RegisteredHotkeyData : BaseModel
1313{
1414 /// <summary>
1515 /// <see cref="HotkeyModel"/> representation of this hotkey.
1616 /// </summary>
17- public HotkeyModel Hotkey { get ; }
17+ private HotkeyModel _hotkey ;
18+ public HotkeyModel Hotkey
19+ {
20+ get => _hotkey ;
21+ set
22+ {
23+ if ( ! _hotkey . Equals ( value ) )
24+ {
25+ _hotkey = value ;
26+ OnPropertyChanged ( ) ;
27+ }
28+ }
29+ }
1830
1931 /// <summary>
2032 /// String key in the localization dictionary that represents this hotkey. For example, <c>ReloadPluginHotkey</c>,
You can’t perform that action at this time.
0 commit comments