diff options
author | vng <viktor.govako@gmail.com> | 2012-08-27 19:03:49 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:42:37 +0300 |
commit | 07761a9f34cb57d8e2a7c4b0f504da6b86f69b58 (patch) | |
tree | c3fbf30f0b6d06bb6d39136c4ec3760f62cde27a /qt | |
parent | 201d223b626001e4b62e206a37dfe66c3a92cebe (diff) |
[desktop] Fix bug with group item click in downloader.
Diffstat (limited to 'qt')
-rw-r--r-- | qt/update_dialog.cpp | 5 |
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: |