Skip to content

Commit e3aa648

Browse files
committed
rename function to AutocompleteQueryCommand
1 parent 2ba6ce9 commit e3aa648

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Flow.Launcher/MainWindow.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
<KeyBinding Key="F5" Command="{Binding ReloadPluginDataCommand}" />
4444
<KeyBinding
4545
Key="Tab"
46-
Command="{Binding InsertSuggestion}"/>
46+
Command="{Binding AutocompleteQueryCommand}"/>
4747
<KeyBinding
4848
Key="Tab"
49-
Command="{Binding InsertSuggestion}"
49+
Command="{Binding AutocompleteQueryCommand}"
5050
Modifiers="Shift" />
5151
<KeyBinding
5252
Key="I"

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ private void InitializeKeyCommands()
228228
}
229229
});
230230

231-
InsertSuggestion = new RelayCommand(_ =>
231+
AutocompleteQueryCommand = new RelayCommand(_ =>
232232
{
233233
var result = SelectedResults.SelectedItem?.Result;
234234
if (result != null) // SelectedItem returns null if selection is empty.
@@ -408,7 +408,7 @@ private ResultsViewModel SelectedResults
408408
public ICommand OpenSettingCommand { get; set; }
409409
public ICommand ReloadPluginDataCommand { get; set; }
410410
public ICommand ClearQueryCommand { get; private set; }
411-
public ICommand InsertSuggestion { get; set; }
411+
public ICommand AutocompleteQueryCommand { get; set; }
412412

413413
public string OpenResultCommandModifiers { get; private set; }
414414

0 commit comments

Comments
 (0)