From fafb754c4263d018024bf64905df44a927c83d57 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 18 Jan 2015 23:01:24 +0100 Subject: [PATCH] one more instance --- .../src/net/osmand/plus/activities/AvailableGPXFragment.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/AvailableGPXFragment.java b/OsmAnd/src/net/osmand/plus/activities/AvailableGPXFragment.java index 73f0b4a9a9..00178c793e 100644 --- a/OsmAnd/src/net/osmand/plus/activities/AvailableGPXFragment.java +++ b/OsmAnd/src/net/osmand/plus/activities/AvailableGPXFragment.java @@ -811,7 +811,9 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment { // search from end for (int i = category.size() - 1; i >= 0; 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; break; }