change query after showing window to make it not selectable

This commit is contained in:
Kevin Zhang 2021-12-05 21:14:01 -06:00
parent 6565b55746
commit ec96028f55

View file

@ -337,10 +337,9 @@ namespace Flow.Launcher.Plugin.Shell
private void OnWinRPressed()
{
context.API.ChangeQuery($"{context.CurrentPluginMetadata.ActionKeywords[0]}{Plugin.Query.TermSeparator}");
// show the main window and set focus to the query box
context.API.ShowMainWindow();
context.API.ChangeQuery($"{context.CurrentPluginMetadata.ActionKeywords[0]}{Plugin.Query.TermSeparator}");
}
public Control CreateSettingPanel()