Fix new route file extension
This commit is contained in:
parent
ab993c88de
commit
3112c1e0a8
1 changed files with 1 additions and 1 deletions
|
@ -451,7 +451,7 @@ public class MeasurementToolFragment extends BaseOsmAndFragment {
|
|||
} else {
|
||||
if (newGpxData == null) {
|
||||
final File dir = mapActivity.getMyApplication().getAppPath(IndexConstants.GPX_INDEX_DIR);
|
||||
String fileName = getSuggestedName(dir);
|
||||
String fileName = getSuggestedName(dir) + GPX_FILE_EXT;
|
||||
saveNewGpx(dir, fileName, true, SaveType.ROUTE_POINT, true);
|
||||
} else {
|
||||
addToGpx(mapActivity);
|
||||
|
|
Loading…
Reference in a new issue