diff --git a/qt/update_dialog.cpp b/qt/update_dialog.cpp index 2b458a62e8..4460f7f2e7 100644 --- a/qt/update_dialog.cpp +++ b/qt/update_dialog.cpp @@ -113,6 +113,11 @@ namespace qt TIndex const countryIndex(treeIndex[0], treeIndex[1], treeIndex[2]); Storage & st = GetStorage(); + + // skip group items + if (st.CountriesCount(countryIndex) > 0) + return; + switch (m_framework.GetCountryStatus(countryIndex)) { case EOnDiskOutOfDate: diff --git a/storage/country.hpp b/storage/country.hpp index d927d72fdc..b1634d5d38 100644 --- a/storage/country.hpp +++ b/storage/country.hpp @@ -72,7 +72,7 @@ namespace storage /// If the logic will be changed, replace GetFile with ForEachFile. CountryFile const & GetFile() const { - ASSERT_EQUAL ( m_files.size(), 1, () ); + ASSERT_EQUAL ( m_files.size(), 1, (m_name) ); return m_files.front(); }