fix hiding gpx files on maps after deleting from my places p2
This commit is contained in:
parent
a8f780a46c
commit
48092f0e23
1 changed files with 2 additions and 1 deletions
|
@ -1290,13 +1290,14 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment implement
|
|||
// 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 (objectEquals("" + g.subfolder, cat)) {
|
||||
if (objectEquals(g.subfolder, cat)) {
|
||||
found = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (found != -1) {
|
||||
data.get(category.get(found)).remove(g);
|
||||
selected.remove(g);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue