This commit is contained in:
Vic 2022-10-15 14:29:19 +08:00
parent 23ecd39dc7
commit ce60f414dd
3 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings
public override bool Equals(object obj)
{
return obj is CustomShortcutModel other &&
return obj is ShortcutBaseModel other &&
Key == other.Key;
}

View file

@ -181,7 +181,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings
[JsonIgnore]
public ObservableCollection<BuiltinShortcutModel> BuiltinShortcuts { get; set; } = new ObservableCollection<BuiltinShortcutModel>() {
new BuiltinShortcutModel("{clipboard}", "Get text from clipboard.", Clipboard.GetText)
new BuiltinShortcutModel("{clipboard}", "Get text from clipboard.", Clipboard.GetText) // TODO: translation?
};
public bool DontPromptUpdateMsg { get; set; }

View file

@ -537,7 +537,7 @@ namespace Flow.Launcher.ViewModel
#endregion
#region hotkey & shortcut
#region hotkey
public CustomPluginHotkey SelectedCustomPluginHotkey { get; set; }