diff --git a/Flow.Launcher/SearchDelayTimeWindow.xaml b/Flow.Launcher/SearchDelayTimeWindow.xaml index 21ecd39c0..1c7ca58d0 100644 --- a/Flow.Launcher/SearchDelayTimeWindow.xaml +++ b/Flow.Launcher/SearchDelayTimeWindow.xaml @@ -65,8 +65,8 @@ @@ -99,7 +99,7 @@ FontSize="14" Text="{DynamicResource newSearchDelayTime}" /> .GetValues("SearchDelayTime"); SearchDelayTimeData selected = null; @@ -31,9 +33,9 @@ public partial class SearchDelayTimeWindow : Window // When _pluginViewModel.PluginSearchDelayTime equals null, we will select this searchDelayTimes.Insert(0, new SearchDelayTimeData { Display = App.API.GetTranslation("default"), LocalizationKey = "default" }); selected ??= searchDelayTimes.FirstOrDefault(); - tbDelay.ItemsSource = searchDelayTimes; - tbDelay.SelectedItem = selected; - tbDelay.Focus(); + cbDelay.ItemsSource = searchDelayTimes; + cbDelay.SelectedItem = selected; + cbDelay.Focus(); } private void BtnCancel_OnClick(object sender, RoutedEventArgs e) @@ -44,7 +46,7 @@ public partial class SearchDelayTimeWindow : Window private void btnDone_OnClick(object sender, RoutedEventArgs _) { // Update search delay time - var selected = tbDelay.SelectedItem as SearchDelayTimeData; + var selected = cbDelay.SelectedItem as SearchDelayTimeData; SearchDelayTime? changedValue = selected?.LocalizationKey != "default" ? selected.Value : null; _pluginViewModel.PluginSearchDelayTime = changedValue; diff --git a/Flow.Launcher/ViewModel/PluginViewModel.cs b/Flow.Launcher/ViewModel/PluginViewModel.cs index 807fd6e85..e91badb38 100644 --- a/Flow.Launcher/ViewModel/PluginViewModel.cs +++ b/Flow.Launcher/ViewModel/PluginViewModel.cs @@ -118,7 +118,7 @@ namespace Flow.Launcher.ViewModel public Visibility ActionKeywordsVisibility => PluginPair.Metadata.HideActionKeywordPanel ? Visibility.Collapsed : Visibility.Visible; - public string InitilizaTime => PluginPair.Metadata.InitTime + "ms"; + public string InitializeTime => PluginPair.Metadata.InitTime + "ms"; public string QueryTime => PluginPair.Metadata.AvgQueryTime + "ms"; public string Version => App.API.GetTranslation("plugin_query_version") + " " + PluginPair.Metadata.Version; public string InitAndQueryTime =>