mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
ResultPanel should be empty when there is no result
This commit is contained in:
@@ -58,8 +58,6 @@ namespace Wox
|
|||||||
|
|
||||||
public void AddResults(List<Result> newResults, string resultId)
|
public void AddResults(List<Result> newResults, string resultId)
|
||||||
{
|
{
|
||||||
// todo check count in the previous call
|
|
||||||
if (newResults.Count == 0) return;
|
|
||||||
lock (_resultsUpdateLock)
|
lock (_resultsUpdateLock)
|
||||||
{
|
{
|
||||||
// todo use async to do new result calculation
|
// todo use async to do new result calculation
|
||||||
|
|||||||
Reference in New Issue
Block a user