mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Query: rename IsForced property to IsReQuery
This commit is contained in:
parent
fa783a9cd4
commit
a360ac1b5f
2 changed files with 4 additions and 3 deletions
|
|
@ -31,9 +31,10 @@ namespace Flow.Launcher.Plugin
|
|||
|
||||
/// <summary>
|
||||
/// Determines whether the query was forced to execute again.
|
||||
/// For example, the value will be true when the user presses Ctrl + R.
|
||||
/// When this property is true, plugins handling this query should avoid serving cached results.
|
||||
/// </summary>
|
||||
public bool IsForced { get; internal set; } = false;
|
||||
public bool IsReQuery { get; internal set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// Search part of a query.
|
||||
|
|
|
|||
|
|
@ -756,8 +756,8 @@ namespace Flow.Launcher.ViewModel
|
|||
if (currentCancellationToken.IsCancellationRequested)
|
||||
return;
|
||||
|
||||
// Update the query's IsForced property to true if this is a re-query
|
||||
query.IsForced = reQuery;
|
||||
// Update the query's IsReQuery property to true if this is a re-query
|
||||
query.IsReQuery = reQuery;
|
||||
|
||||
// handle the exclusiveness of plugin using action keyword
|
||||
RemoveOldQueryResults(query);
|
||||
|
|
|
|||
Loading…
Reference in a new issue