forked from organicmaps/organicmaps
[new downloader] Moving downloading maps and maps in queue to downloading part of downloader.
This commit is contained in:
parent
098804292d
commit
ae35766ad9
1 changed files with 3 additions and 0 deletions
|
@ -1147,6 +1147,9 @@ void Storage::GetChildrenInGroups(TCountryId const & parent,
|
|||
availChildren.clear();
|
||||
TCountriesVec localMaps;
|
||||
GetLocalRealMaps(localMaps);
|
||||
for (auto const downloadingMap : m_queue)
|
||||
localMaps.push_back(downloadingMap.GetCountryId());
|
||||
|
||||
if (localMaps.empty())
|
||||
{
|
||||
GetChildren(parent, availChildren);
|
||||
|
|
Loading…
Add table
Reference in a new issue