mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Improve documents
This commit is contained in:
parent
a6f33401a3
commit
64eb4a7bea
2 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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}");
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue