Merge pull request #4624 from osmandapp/fix_waypoints_import
Select gpx when import waypoints
This commit is contained in:
commit
4468913b13
1 changed files with 8 additions and 4 deletions
|
@ -647,6 +647,10 @@ public class TrackPointFragment extends OsmandExpandableListFragment {
|
|||
AndroidUtils.trimExtension(gpx.getName()), MarkersSyncGroup.GPX_TYPE);
|
||||
markersHelper.addMarkersSyncGroup(syncGroup);
|
||||
markersHelper.syncGroup(syncGroup);
|
||||
GPXFile gpxFile = getTrackActivity().getGpx();
|
||||
if (gpxFile != null) {
|
||||
app.getSelectedGpxHelper().selectGpxFile(gpxFile, true, false);
|
||||
}
|
||||
} else {
|
||||
for (GpxDisplayItem i : entry.getValue()) {
|
||||
if (i.locationStart != null) {
|
||||
|
|
Loading…
Reference in a new issue