Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qt
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2012-08-27 19:03:49 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:42:37 +0300
commit07761a9f34cb57d8e2a7c4b0f504da6b86f69b58 (patch)
treec3fbf30f0b6d06bb6d39136c4ec3760f62cde27a /qt
parent201d223b626001e4b62e206a37dfe66c3a92cebe (diff)
[desktop] Fix bug with group item click in downloader.
Diffstat (limited to 'qt')
-rw-r--r--qt/update_dialog.cpp5
1 files changed, 5 insertions, 0 deletions
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: