Fixed bug 119 in Jira.

This commit is contained in:
unknown 2014-07-02 12:22:15 +03:00
parent 430e082022
commit 0eaecf971e

View file

@ -437,7 +437,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment {
} }
} }
}; };
if (info.gpx != null) { if(info.gpx != null){
if (info.file == null) { if (info.file == null) {
GpxSelectionHelper.SelectedGpxFile selectedGpxFile = selectedGpxHelper.getSelectedCurrentRecordingTrack(); GpxSelectionHelper.SelectedGpxFile selectedGpxFile = selectedGpxHelper.getSelectedCurrentRecordingTrack();
if (selectedGpxFile != null && selectedGpxFile.getGpxFile() == info.gpx) { if (selectedGpxFile != null && selectedGpxFile.getGpxFile() == info.gpx) {