mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
rename function to AutocompleteQueryCommand
This commit is contained in:
parent
2ba6ce9e87
commit
e3aa648e88
2 changed files with 4 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue