From e3aa648e88b7bc4215f800222eb4c6c0860db38b Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sun, 5 Dec 2021 19:28:04 +1100 Subject: [PATCH] rename function to AutocompleteQueryCommand --- Flow.Launcher/MainWindow.xaml | 4 ++-- Flow.Launcher/ViewModel/MainViewModel.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Flow.Launcher/MainWindow.xaml b/Flow.Launcher/MainWindow.xaml index 3d383d7d8..1f4494215 100644 --- a/Flow.Launcher/MainWindow.xaml +++ b/Flow.Launcher/MainWindow.xaml @@ -43,10 +43,10 @@ + Command="{Binding AutocompleteQueryCommand}"/> + 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; }