ResultPanel should be empty when there is no result

This commit is contained in:
bao-qian
2016-01-02 23:22:58 +00:00
parent f9e27ef67c
commit a3ca1febbc

View File

@@ -58,8 +58,6 @@ namespace Wox
public void AddResults(List<Result> newResults, string resultId)
{
// todo check count in the previous call
if (newResults.Count == 0) return;
lock (_resultsUpdateLock)
{
// todo use async to do new result calculation