improve first PT Run call performance (#12352)
This commit is contained in:
parent
e965fcb690
commit
3c04111483
|
@ -7,7 +7,6 @@ using System.ComponentModel;
|
|||
using System.Linq;
|
||||
using System.Timers;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation.Peers;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
using interop;
|
||||
|
@ -116,6 +115,7 @@ namespace PowerLauncher
|
|||
ListBox.SuggestionsList.SelectionChanged += SuggestionsList_SelectionChanged;
|
||||
ListBox.SuggestionsList.PreviewMouseLeftButtonUp += SuggestionsList_PreviewMouseLeftButtonUp;
|
||||
_viewModel.PropertyChanged += ViewModel_PropertyChanged;
|
||||
_viewModel.MainWindowVisibility = Visibility.Collapsed;
|
||||
|
||||
BringProcessToForeground();
|
||||
}
|
||||
|
|
|
@ -910,7 +910,6 @@ namespace PowerLauncher.ViewModel
|
|||
list.Add(r);
|
||||
Results.AddResults(list, _updateToken);
|
||||
Results.Clear();
|
||||
MainWindowVisibility = System.Windows.Visibility.Collapsed;
|
||||
|
||||
// Fix Cold start for plugins, "m" is just a random string needed to query results
|
||||
var pluginQueryPairs = QueryBuilder.Build("m");
|
||||
|
|
Loading…
Reference in a new issue