diff --git a/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java b/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java index feb4d37234..8625980d3d 100644 --- a/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java @@ -396,7 +396,7 @@ public class DownloadIndexActivity extends OsmandExpandableListActivity { cachedSRTMFiles = new ArrayList(); List countries = RegionRegistry.getRegionRegistry().getCountries(); for (RegionCountry rc : countries) { - if (rc.tiles.size() > 35) { + if (rc.tiles.size() > 35 && rc.getSubRegions().size() > 0) { for (RegionCountry ch : rc.getSubRegions()) { cachedSRTMFiles.add(new SrtmIndexItem(ch, indexFileNames)); }