Improve documents

This commit is contained in:
Jack251970 2025-02-22 19:48:25 +08:00
parent a6f33401a3
commit 64eb4a7bea
2 changed files with 2 additions and 3 deletions

View file

@ -18,7 +18,7 @@ namespace Flow.Launcher.Plugin
{
/// <summary>
/// Change Flow.Launcher query.
/// When current results is from context menu or history, we will back to query results before changing query.
/// When current results are from context menu or history, we will back to query results before changing query.
/// </summary>
/// <param name="query">query text</param>
/// <param name="requery">
@ -300,7 +300,7 @@ namespace Flow.Launcher.Plugin
/// <summary>
/// Reloads the query.
/// When current results is from context menu or history, we will back to query results before changing query.
/// When current results are from context menu or history, we will back to query results before requerying.
/// </summary>
/// <param name="reselect">Choose the first result after reload if true; keep the last selected result if false. Default is true.</param>
public void ReQuery(bool reselect = true);

View file

@ -381,7 +381,6 @@ namespace Flow.Launcher.Plugin.Shell
_ = Task.Run(() =>
{
context.API.ShowMainWindow();
// if user happens to open context menu, we need to return back to query results before changing query
context.API.ChangeQuery($"{context.CurrentPluginMetadata.ActionKeywords[0]}{Plugin.Query.TermSeparator}");
});