Merge pull request #17 from jjw24/update_websearch_when_suggestions_on

Speed up WebSearch plugin when suggestions turned on
This commit is contained in:
Jeremy Wu 2019-09-22 18:30:12 +10:00 committed by GitHub
commit 329f7a2e00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,14 @@ namespace Wox.Plugin.WebSearch
return true;
}
};
results.Add(result);
ResultsUpdated?.Invoke(this, new ResultUpdatedEventArgs
{
Results = results,
Query = query
});
UpdateResultsFromSuggestion(results, keyword, subtitle, searchSource, query);
}
}