mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
No need for the temp variable
This commit is contained in:
parent
4d501ba3f7
commit
9557d7ea24
1 changed files with 1 additions and 5 deletions
|
|
@ -547,11 +547,7 @@ namespace Flow.Launcher.ViewModel
|
|||
|
||||
private void RemoveOldQueryResults(Query query)
|
||||
{
|
||||
string lastKeyword = _lastQuery.ActionKeyword;
|
||||
|
||||
string keyword = query.ActionKeyword;
|
||||
|
||||
if (lastKeyword != keyword)
|
||||
if (_lastQuery.ActionKeyword != query.ActionKeyword)
|
||||
{
|
||||
Results.Clear();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue