mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix RemoveOldQueryResults NullPointerException (#1204)
This commit is contained in:
parent
8b8b6ae573
commit
886eb8650d
1 changed files with 1 additions and 1 deletions
|
|
@ -664,7 +664,7 @@ namespace Flow.Launcher.ViewModel
|
|||
|
||||
private void RemoveOldQueryResults(Query query)
|
||||
{
|
||||
if (_lastQuery.ActionKeyword != query.ActionKeyword)
|
||||
if (_lastQuery?.ActionKeyword != query?.ActionKeyword)
|
||||
{
|
||||
Results.Clear();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue