rename function to AutocompleteQueryCommand

This commit is contained in:
Jeremy 2021-12-05 19:28:04 +11:00
parent 2ba6ce9e87
commit e3aa648e88
2 changed files with 4 additions and 4 deletions

View file

@ -43,10 +43,10 @@
<KeyBinding Key="F5" Command="{Binding ReloadPluginDataCommand}" />
<KeyBinding
Key="Tab"
Command="{Binding InsertSuggestion}"/>
Command="{Binding AutocompleteQueryCommand}"/>
<KeyBinding
Key="Tab"
Command="{Binding InsertSuggestion}"
Command="{Binding AutocompleteQueryCommand}"
Modifiers="Shift" />
<KeyBinding
Key="I"

View file

@ -228,7 +228,7 @@ namespace Flow.Launcher.ViewModel
}
});
InsertSuggestion = new RelayCommand(_ =>
AutocompleteQueryCommand = new RelayCommand(_ =>
{
var result = SelectedResults.SelectedItem?.Result;
if (result != null) // SelectedItem returns null if selection is empty.
@ -408,7 +408,7 @@ namespace Flow.Launcher.ViewModel
public ICommand OpenSettingCommand { get; set; }
public ICommand ReloadPluginDataCommand { get; set; }
public ICommand ClearQueryCommand { get; private set; }
public ICommand InsertSuggestion { get; set; }
public ICommand AutocompleteQueryCommand { get; set; }
public string OpenResultCommandModifiers { get; private set; }