Skip to content

Commit ce60f41

Browse files
bugfix
1 parent 23ecd39 commit ce60f41

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Flow.Launcher.Infrastructure/UserSettings/CustomShortcutModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public abstract class ShortcutBaseModel
1212

1313
public override bool Equals(object obj)
1414
{
15-
return obj is CustomShortcutModel other &&
15+
return obj is ShortcutBaseModel other &&
1616
Key == other.Key;
1717
}
1818

Flow.Launcher.Infrastructure/UserSettings/Settings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public string QuerySearchPrecisionString
181181

182182
[JsonIgnore]
183183
public ObservableCollection<BuiltinShortcutModel> BuiltinShortcuts { get; set; } = new ObservableCollection<BuiltinShortcutModel>() {
184-
new BuiltinShortcutModel("{clipboard}", "Get text from clipboard.", Clipboard.GetText)
184+
new BuiltinShortcutModel("{clipboard}", "Get text from clipboard.", Clipboard.GetText) // TODO: translation?
185185
};
186186

187187
public bool DontPromptUpdateMsg { get; set; }

Flow.Launcher/ViewModel/SettingWindowViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ public FamilyTypeface SelectedResultFontFaces
537537

538538
#endregion
539539

540-
#region hotkey & shortcut
540+
#region hotkey
541541

542542
public CustomPluginHotkey SelectedCustomPluginHotkey { get; set; }
543543

0 commit comments

Comments
 (0)