From a3ca1febbc4a77f034453a43ed4978a7a53387be Mon Sep 17 00:00:00 2001 From: bao-qian Date: Sat, 2 Jan 2016 23:22:58 +0000 Subject: [PATCH] ResultPanel should be empty when there is no result --- Wox/ResultPanel.xaml.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Wox/ResultPanel.xaml.cs b/Wox/ResultPanel.xaml.cs index d2daa2bb5a..534a561c97 100644 --- a/Wox/ResultPanel.xaml.cs +++ b/Wox/ResultPanel.xaml.cs @@ -58,8 +58,6 @@ namespace Wox public void AddResults(List 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