Fixed bug with clearing search results.

This commit is contained in:
vng 2016-01-20 17:04:57 +03:00 committed by Sergey Yershov
parent 1e10b94d91
commit 138274444c

View file

@ -263,8 +263,7 @@ void Engine::DoSearch(SearchParams const & params, m2::RectD const & viewport,
m_query->Search(res, kResultsCount);
}
if (res.GetCount() > 0)
EmitResults(params, res);
EmitResults(params, res);
}
catch (Query::CancelException const &)
{