Merge branch 'master' of ssh://github.com/osmandapp/Osmand

This commit is contained in:
Victor Shcherb 2015-01-18 23:49:47 +01:00
commit 13491399bd

View file

@ -811,7 +811,9 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment {
// search from end // search from end
for (int i = category.size() - 1; i >= 0; i--) { for (int i = category.size() - 1; i >= 0; i--) {
String cat = category.get(i); String cat = category.get(i);
if (Algorithms.objectEquals(getActivity().getString(R.string.local_indexes_cat_gpx) + " " + g.subfolder, cat)) { //local_indexes_cat_gpx now obsolete in new UI screen which shows only GPX data
//if (Algorithms.objectEquals(getActivity().getString(R.string.local_indexes_cat_gpx) + " " + g.subfolder, cat)) {
if (Algorithms.objectEquals("" + g.subfolder, cat)) {
found = i; found = i;
break; break;
} }